| Richard's profileRichard Siddaway's BlogPhotosBlogLists | Help |
|
March 17 WMI Methods and PropertiesIts odd how we discover things. I need to check the WMI classes for network adapters so used Get-WmiObject -List -Class *network* I intended to check out the data returned so used Get-WmiObject -List -Class win32_networkadapterconfiguration Notice I’ve left the –List parameter in the command by mistake. This produces Name Methods Properties Oh. A quick way to see the methods and properties (Get-WmiObject -List -Class win32_networkadapterconfiguration).Methods | Format-Table Name, Qualifiers -AutoSize (Get-WmiObject -List -Class win32_networkadapterconfiguration).Properties | Format-Table Name, Type, Qualifiers -AutoSize
Technorati Tags: PowerShell,WMI Comments (2)
TrackbacksThe trackback URL for this entry is: http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!2165.trak Weblogs that reference this entry
|
|
|