The Windows PowerShell Team Blog has a nice post, including sample code, on Start-Demo: Help doing demos using PowerShell:
I decided I had had enough of that nonsense and decided to write a script which would run a demo for me. I've called this function: Start-Demo. I've attached it to this blog entry. I have to say that I'm pretty please with how it came out.
I'll not pretend that I completely understood the script, being the PowerShell novice that I am. However, I did think it was an interesting use of dogfooding. Plus, how cool is it to be able to do a demo for Bill Gates.
PowerShell has been on my list of things to investigate since it came out. James Manning has done a great job of providing script examples and such for how to use PowerShell with Team Foundation Server, which has me amped up enough that I'll need to do some investigating. I like the potential that PowerShell shows, now I just have to figure out how to make it work best for me.