MOW has done it again with an excellent example of a PowerShell script which does some chewy WMI processing and takes advantage of the PowerShell capabilities. http://mow001.blogspot.com/2006/05/powershell-export-shares-and-security.html
Quite a few of the current WMI examples are really trivial VBScripts using PowerShell constructs. There is nothing wrong with that.
- It highlights the fact that you can do VBScript style scripting using PowerShell
- We all spend the first 4-6 months of a technology written previous generation technology with the new tools. I wrote Fortran using C before I “got it”. Jim Waldo wrote a great paper (forever ago) about how he spent the first 6 months coding C using C++ before he started to “think objects”.
Check it out and if you aren’t already following MOW’s blog – you should. It always as great stuff on it.