on Windows Management Instrumentation

I have a bit versed into powershell over the last months, I just cannot stop discovering new gems.

Ex : Win32 Classes

Self-explanatory examples :

PS> (get-wmiobject win32_processor).currentclockspeed
PS> (get-wmiobject win32_operatingsystem).version
PS> (get-wmiobject win32_proxy).ProxyServer
PS> (get-wmiobject win32_proxy).ProxyPortNumber

it goes on and on and on… the ways those things are accessible from the prompt in interactive command line mode or within a script is amazing me

By Laurent Schneider

Oracle Certified Master

5 replies on “on Windows Management Instrumentation”

Welcome to the wonderful world of PowerShell. Glad you are liking WMI – you have a lot more to discover. Take a look at Ravikanth’s WMI Query Language ebook for lots more detail on WMI Query Langague and WMI eventing. Look at Richard Siddaway’s book on PowerShell and WMI.

And to learn more – why not come over to PowerShell.Com and join in the forums etc.

Leave a Reply

Your email address will not be published.