Scripting Blog

A place to learn about PowerShell and share stories of automation

When a Book Is Finished…

(Note: This post by Ed Wilson originally appeared on the Microsoft Press Blog.)I finished writing my Windows PowerShell Best Practices book for Microsoft Press. I do not have all of the statistics available (number of words, number of figures, number of scripts and those type of numbers) but one value stands out clearly in my mind&mdash...

Hey, Scripting Guy! Can I Create a GUI for a Windows PowerShell Script?

 Hey, Scripting Guy! I know this may sound like a strange question, but I would like to create a graphical user interface for a Windows PowerShell script. I could do these kinds of things using a HTML Application (HTA) file, but I like writing Windows PowerShell scripts. If I could use some sort of functionality that would create a drop-...

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

 Troubleshooting the Use of a WMI ClassHey, Scripting Guy! When we try to work with the Win32_OperatingSystem WMI class on either Windows Server 2008 or Windows Vista, we run into a problem with our WMI script because of the way we were connecting to the instance of the class by using the key. When we open the class in WbemTest, there is ...

Hey, Scripting Guy! How Can I Figure Out Which Version of Microsoft Office Word Is on a Bunch of Computers?

 Hey Scripting Guy! We are currently beta testing Microsoft Office 2010. It is awesome by the way, and I need to figure out what version of Word we have installed on our computers. I know there are different versions, and I would like to get some kind of inventory before we do the upgrade. How can I determine the version of Word that is ...

Hey, Scripting Guy! Can I Read a Text File and Use It to Query Servers?

 Hey Scripting Guy! I need to generate a list of hotfixes that are installed on my servers. I have 100 servers on the network for which I am responsible. Each of the server names is listed in a text file called servers.txt. I need a way to read the text file and then query each of the servers. Can you help me?-- GMHello GM, Microsoft ...

Feedback usabilla icon