{"id":8361,"date":"2007-03-05T23:53:00","date_gmt":"2007-03-05T23:53:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2007\/03\/05\/improved-start-demo-script\/"},"modified":"2019-02-18T13:16:50","modified_gmt":"2019-02-18T20:16:50","slug":"improved-start-demo-script","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/improved-start-demo-script\/","title":{"rendered":"Improved Start-Demo Script"},"content":{"rendered":"<p>I showed my Start-Demo script to my wife and she wasn&#8217;t impressed <span>J<\/span>. She gave me some good ideas about how to make it better so I&#8217;ve updated the script and attached it to this entry. The changes are: <\/p>\n<ol>\n<li>\n<div>If you typed anything other than &lt;CR&gt;, it added that text to the end of the command that would have been executed and ended up looking very strange. The script now: <\/div>\n<ol>\n<li>Adds a couple of space between the end of the command to be typed and the INPUT field. <\/li>\n<li>Changes the Foreground color to RED during input. <\/li>\n<\/ol>\n<\/li>\n<li>Adds a (B) Backup command which allows you to backup the demo one command at a time. <\/li>\n<\/ol>\n<p>Jeffrey Snover [MSFT]<br \/>Windows PowerShell\/MMC Architect<br \/>Visit the Windows PowerShell Team blog at: <a href=\"http:\/\/blogs.msdn.com\/PowerShell\">http:\/\/blogs.msdn.com\/PowerShell<\/a><br \/>Visit the Windows PowerShell ScriptCenter at: <a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx\">http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx<\/a> <\/p>\n<p><a href=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/01\/81\/43\/38\/start-demo.ps1\">start-demo.ps1<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I showed my Start-Demo script to my wife and she wasn&#8217;t impressed J. She gave me some good ideas about how to make it better so I&#8217;ve updated the script and attached it to this entry. The changes are: If you typed anything other than &lt;CR&gt;, it added that text to the end of the [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell"],"acf":[],"blog_post_summary":"<p>I showed my Start-Demo script to my wife and she wasn&#8217;t impressed J. She gave me some good ideas about how to make it better so I&#8217;ve updated the script and attached it to this entry. The changes are: If you typed anything other than &lt;CR&gt;, it added that text to the end of the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/8361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=8361"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/8361\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=8361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=8361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=8361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}