Posts Tagged ‘administrator’
PowerShell Profile Trick – Change Background Color On Administrative Shell
Here’s a great piece of profile customization: Make your PowerShell session have a dark red background each time it starts a session running as an administrator.
To do this, I look the built in $host variable, which has several properties in it, such as the foreground color and the background color of the shell. Here’s the difference between a PowerShell session running in normal mode (blue screen) vs. administrator mode (red screen)


