I showed my Start-Demo script to my wife and she wasn’t impressed J. She gave me some good ideas about how to make it better so I’ve updated the script and attached it to this entry. The changes are:
If you typed anything other than <CR>, it added that text to the end of the command that would have been executed and ended up looking very strange. The script now:
- Adds a couple of space between the end of the command to be typed and the INPUT field.
- Changes the Foreground color to RED during input.
- Adds a (B) Backup command which allows you to backup the demo one command at a time.
Jeffrey Snover [MSFT]
Windows PowerShell/MMC Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx