Scripting Blog

A place to learn about PowerShell and share stories of automation

Script Center 101: Our first Zunecast!

  Script Center 101 (link takes you to the Microsoft Download Center) Scripting Guy Ed Wilson takes you on a guided tour of the new Script Center Web site, which was launched on June 11, 2009. Excuse our dust as we continue to improve the new site. (And please understand that this is our first Zunecast and it does have a couple ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/3/09)

How Can I List Files and Folders with Special Characters in Their Names?  Hey, Scripting Guy! First I would like to thank you for all the good humour you present me every time I need you. I’m trying to use one of your scripts to list the files and folders on my file server. My users are very creative and can manage to use all kind...

Hey, Scripting Guy! How Can I Prompt Users for Information When a Script Is Run?

Hey, Scripting Guy! I would like to have my script prompt the user for information when it is run. But I would like the person running the script to be able to supply more than one piece of information when the script is run. For example, I would like to provide information about hard drives on the computer, but I do not want to list all of ...

Hey, Scripting Guy! How Can I Use a Named Parameter When Running Scripts?

Hey, Scripting Guy! I would like to be able to use a named parameter when running my scripts. There are a couple of reasons for this. The first is that I think that it looks cool to use a named parameter. The second reason is probably just as important as the first: I think it makes the script easier to use if I use a named parameter rather ...