Scripting Blog [archived]

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

Hey, Scripting Guy! Can Windows PowerShell Call WMI Methods?

  (image) Hey, Scripting Guy! I have seen a number of methods listed for WMI classes on MSDN, but when I try to use them in Windows PowerShell, they do not work. I am wondering what the secret is to making these things actually do something. I assume they are not really broken because I have VBScripts that I downloaded from the Script ...

Hey, Scripting Guy! How Do I Use WMI with Windows PowerShell to Return Information About Properties?

 (image) Hey Scripting Guy! I have been playing with WMI on Windows PowerShell, and I think the Get-WmiObject cmdlet is pretty cool. It makes it easy to query for information from computers on my network. But what if I want to actually do something? How do I do that? -- SH(image) Hello SH, Microsoft Scripting Guy Ed Wilson here. I ...

Hey, Scripting Guy! How Do I Use WMI with Windows PowerShell to Query More Than One Piece of Information?

(image) Hey,  Scripting Guy! I have been trying to get on the Windows PowerShell bandwagon as I feel it is essential to my career as a network administrator who works in the Windows world. At first, it seemed to be confusing, but now I am starting to get it. I am still stuck when it comes to working with Windows Management ...