Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Supply More Than One Value from the Command Line?

Hey, Scripting Guy! I do not think I write very complicated scripts, but quite often I find that it would be nice to be able to supply more than one value from the command line. It seems that everything I see written for Windows PowerShell uses the $args variable to get command line input, and I cannot figure out how to make $args accept more...

Hey, Scripting Guy! How Can I Run a Script Without Involving Notepad?

Hey, Scripting Guy! I love looking at the scripts on the Script Center. I think it is amazing when a person writes you an e-mail stating they have this problem that will take like a zillion years to do manually, and you whip up a script that they can run in just a few seconds and it solves their problem. I am not sure how much you guys make, ...

Hey, Scripting Guy! Event 10 *Solutions* from Expert Commentators (Beginner and Advanced; the 1,500-meter race)

  (Note: These solutions were written for Event 10.) Beginner Event 10:  The 1,500-meter raceIn the 1,500-meter race, you will go for the gold by writing a script that counts down from three minutes.Guest commentator: Andrew Willett Andrew Willett is the projects manager for the IT department of a Steinhoff group ...

Hey, Scripting Guy! Event 9 *Solutions* from Expert Commentators (Beginner and Advanced; the javelin throw)

  (Note: These solutions were written for Event 9.) Beginner Event 9: The javelin throwFor the javelin throw event, you will soar as you write a time logger. Guest commentator: Salvador Manaois III  Salvador Manaois III is a senior systems engineer at Infineon Technologies Asia Pacific Pte Ltd. He currently holds the MCITP ...

Complete Prize Winners List for the 2009 Summer Scripting Games

This is the complete list of winners for all 10 events. All prizes have been shipped or fulfilled.Winners W.S., Ohio, United StatesD.R., Ohio, United StatesA.C., EnglandK.M., Ontario, CanadaD.B., Oklahoma, United StatesB.G., BrasilC.J., SwitzerlandR.D.J., DenmarkV.P., LatviaR.M., California, United StatesH.K., RussiaD.C., Illinois, United...