Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Hey, Scripting Guy! How Do I Add Help Information for Windows PowerShell Parameters?

(image) (image) Hey, Scripting Guy! I have been reading your articles this week about adding Help to scripts, and it looks really cool, but it also seems to be quite a bit of work. I would love to be able to display Help for a script when the script is run with a specific switch, but then it requires testing for the switched parameter and ...

Top 20 Hey, Scripting Guy! Blog Posts for 2009

The clicks are in, and here's how you voted. These were our most clicked blog posts in 2009.1.       Can I Download Multiple Files at Once with Internet Explorer in Windows 7?2.       How Can I Simply Have Windows PowerShell Display Information on the Screen?3.    ...

Hey, Scripting Guy! What Should I Include in Windows PowerShell Script Help?

 (image) (image) Hey, Scripting Guy! I heard your interview the other day on the PowerScripting podcast, and I was really impressed. It is not every day I get to hear one of my heroes be interviewed on a podcast. I wanted to submit a question, but I got too carried away with the flow of things, and before I knew it, Hal was wrapping ...

Hey, Scripting Guy! How Can I Add Multiline Comments to My Windows PowerShell Scripts?

(image)   (image) Hey Scripting Guy! I have been trying to add more comments to my Windows PowerShell scripts, but one thing that I really miss is a multiple-line comment character that I had in other programming languages. Not having a multiple-line comment was annoying in VBScript, but it is unacceptable for Windows PowerShell to not ...