Scripting Blog [archived]

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

Hey, Scripting Guy! Can I Create a Windows Form to Select Computer Names and Run WMI Queries?

(image)   (image) Hey, Scripting Guy! I had this idea. I would like to have a Windows Form that had a list of computer names in it. I would then like to be able to select one of the computers, and run a WMI query against it. My idea is that I could give the Windows Form to the Help Desk, and I would not need to tell them how to run a...

Hey, Scripting Guy! How Can I Use the List Box Control in Windows PowerShell?

(image)   (image) Hey, Scripting Guy! I am wondering if it would be possible to have a box that included several items in it. I would then like to be able to choose an item from that box and use it elsewhere in the script. I know it can be done, because I see it in Windows programs all the time. I just am not sure what it is called, ...