May 1st, 2006

Chewy WMI example

PowerShell Team
PowerShell Team

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. 

  1. It highlights the fact that you can do VBScript style scripting using PowerShell
  2. 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.

Jeffrey Snover
PowerShell Architect

PSMDTAG:TYPE:WMI:

Category
PowerShell
Topics
TYPE:WMI

Author

PowerShell Team
PowerShell Team

PowerShell is a task-based command-line shell and scripting language built on .NET. PowerShell helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes.

0 comments

Discussion are closed.