I've set the color and font through the console properties dialog.
(Yes, I know how to use $Host.UI.RawUI. In my short-sightedness, I
chose not to.) I've gone into HKCU\Console and deleted the PowerShell
settings (after backing up the key). That restores the font and
foreground color, but the background color remains black.
So, is there any other way to undo these customizations? If there's
some setting I can delete, then I can be confident that I'm showing my
colleagues PowerShell as it appears in its "rawest" form.
What about other settings? Window size and position, etc?
Any chance you've set up a profile that's playing with the settings? Your
note didn't mention having checked that.
And while you've probably thought of it, don't forget to set the execution
policy back to its default value to help emphasize the security aspect of
POSH. (And turning off scripting will also block (with error messages)
execution of the profile if it exists.)
As a last resort, assuming you've got the privileges to do so, consider
creating a new userid with which to run the demo. It won't get you around
any global setting changes (don't forget to look for global profiles in
$pshome - on my 64win7 testbed there are *no* .ps1 files in that folder) but
if the UI tweaking is user-specific that might give you a clean start.
"Let system position window" checked
On 8/3/2010 1:30 PM, ebloch wrote:
> I'm giving a demo tomorrow to my colleagues, all of whom are
> PowerShell newbies....