Get-WmiObject Custom Operator

File uploaded by IanRich on Jan 7, 2015
Version 1Show Document
  • View in full screen mode

Here is a custom operator that I designed (wrapped around a PowerShell script) to do a Get-WmiObject and return the results as a ValueMap.


I just quickly made this up, so there isn't a lot of debugging or error checking, it was mainly as a proof-of-concept after reading a post by James Keeler about having to use PowerShell for WMI commands.