Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Weekend Scripter: How Much Wood?

 Microsoft Scripting Guy Ed Wilson here. I am out in my woodworking shop today, and I am laying out an arch that I will use to create a curved top for a box. I need to know how much wood will be required to make that arch—the radius of the arch. Another use might be to measure for drywall when creating an arch over a door. How do I ...

The best thing to happen to weekends in a long time

  Are you a hardcore scripting person who is addicted to Windows PowerShell? Do you find yourself waking up on a Saturday or Sunday morning and rushing to your computer to read the latest antics of the Microsoft Scripting Guys? Do you live on the other side of the world from Redmond, Washington, or Charlotte, North Carolina, and ...

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

  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 script, give ...

Hey, Scripting Guy! How Can I Read a Text File and Update a List Box?

  Hey, Scripting Guy! I liked your article about creating a list box with Windows PowerShell, but to be honest, that is of limited use to me because I often need to work with different servers. I would like to be able to load a text file and have it populate the list box. Is that too hard to do?-- RR Hello RR, Microsoft ...

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

  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, and therefore am...