This month’s TechNet magazine has a great video demo from Don Jones where he uses WMI to generate a simple Software Inventory Report. The great thing about Don is his awesome ability to break things down into a series of simple steps. He does this by using Get-WMIObject from the command line and then goes through a series of scripts to illustrate various techniques that give you better and better results (more power, better composability).
If you are an advanced scripter, you probably already know the techniques that Don is illustrating but this is a must see for people starting scripting – it is just so logical and straightforward. I’ve attended Don’s training classes and his sessions at conferences and they are all great so if you have the opportunity – you should definately run to his talks.
You can see his video demo HERE.
Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx