![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | change fonts permanently for ALL colors using $Host.PrivateData.*ColorName* = "Color" I can change the following colors of the powershell: DebugForeGroundColor DebugBackGroundColor ErrorForeGroundColor ErrorBackGroundColor ProgressForeGroundColor ProgressBackGroundColor VerboseForeGroundColor VerboseBackGroundColor WarningForeGroundColor WarningBackGroundColor Unfortunately they are only changed for the scope of the session. As soon as I reopen the powershells these settings are gone. How can I change the colors permanently for all colors ? |
My System Specs![]() |
| | #2 (permalink) |
| | RE: change fonts permanently for ALL colors Put the changes in your profile then they will be applied every time to start PowerShell -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "Robert Ludig" wrote: > using $Host.PrivateData.*ColorName* = "Color" > > I can change the following colors of the powershell: > > DebugForeGroundColor > DebugBackGroundColor > ErrorForeGroundColor > ErrorBackGroundColor > ProgressForeGroundColor > ProgressBackGroundColor > VerboseForeGroundColor > VerboseBackGroundColor > WarningForeGroundColor > WarningBackGroundColor > > Unfortunately they are only changed for the scope of the session. As > soon as I reopen the powershells these settings are gone. How can I > change the colors permanently for all colors ? > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: change fonts permanently for ALL colors That should work IF it is a small file. It does it by reading the entire file and displaying the last 5 lines. If your file is 2 GB, then it will read all 2 GB before giving you the last 5 lines. I haven't found the best way to implement true tail like functionality in PSH. I am guessing that it would require using .Net. Thanks, SQL Guru "RichS" <RichS@discussions.microsoft.com> wrote in message news:0EE096F3-F5AB-49D8-9D8E-547D6B9B37A6@microsoft.com... Put the changes in your profile then they will be applied every time to start PowerShell -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "Robert Ludig" wrote: > using $Host.PrivateData.*ColorName* = "Color" > > I can change the following colors of the powershell: > > DebugForeGroundColor > DebugBackGroundColor > ErrorForeGroundColor > ErrorBackGroundColor > ProgressForeGroundColor > ProgressBackGroundColor > VerboseForeGroundColor > VerboseBackGroundColor > WarningForeGroundColor > WarningBackGroundColor > > Unfortunately they are only changed for the scope of the session. As > soon as I reopen the powershells these settings are gone. How can I > change the colors permanently for all colors ? > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Permanently change a single file's icon | General Discussion | |||
| Change font permanently in Word Pad? | General Discussion | |||
| How can i change colors of... | General Discussion | |||
| Re: Permanently change Search agent? | Vista General | |||