With just one low level API call, you can transform a boring classic PowerShell console into something sophisticated – provided that your computer uses the Aero theme.Have a look at this article! Rich Hewitt describes how to use the DwmExtendFrameIntoClientArea and points to a piece of PowerShell code written by MVP Oisin that makes it happen. When you play with it, you may want to adjust the console foreground color to keep the text readible. To change console colors like the foreground color, click on the icon at the left side of the console title bar, choose Properties and click on Colors. Then select Screen Text and mix your color with the RGB text boxes to the right.
I put together a little module that includes all of the functionality. You can download the module here:
You install it like any other module after you unzipped it and made sure it is no longer blocked (right-click the ZIP before you unpack, choose Properties, then click Unblock):
Enable-AeroGlassTheme: Switches a PowerShell console window to glass mode. Note that Aero glass of course needs to be turned on in your GUI.
Disable-AeroGlassTheme: Switches back to normal mode
Enable-TopMost: turns any window into a topmost window that stays above all other windows
Disable-TopMost: disables topmost status
Note that all functions are documented so after you imported the module, you can use PowerShell help:
Import-Module PTSAeroConsole Help Enable-AeroGlassTheme -Examples