View Single Post
Old 02-25-2007   #3 (permalink)
SQL Guru


 
 

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 SpecsSystem Spec