Scripting Blog [archived]

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

Use a PowerShell Function to Get WMI Key Property Values

Summary: Microsoft Scripting Guy Ed Wilson discusses his version 3 of a Windows PowerShell WMI helper module.   Microsoft Scripting Guy Ed Wilson here. I have really enjoyed working on my HSGWMIModule project this week. On Monday, I created the base WMI module, and included a couple of really great functions that query the WMI schema and ...

Use PowerShell to Easily Find the Key Property of a WMI Class

Summary: Learn how to find the key property of a WMI class by using a Windows PowerShell function.   Microsoft Scripting Guy Ed Wilson here. Well, I received a decent amount of feedback about version 1 of my HSGWMIhelper Windows PowerShell module. Today, I want to add a needed feature to the module: I need the ability to find a WMI key ...

Focus on the Object

Summary: In today’s guest article, Microsoft PowerShell MVP Shane Hoey reminds us to focus on the object. Microsoft Scripting Guy Ed Wilson here. Today we have a guest article by Windows PowerShell MVP Shane Hoey. Here is what Shane has to say about himself: “My scripting experience started back when Windows XP was the new kid...