SHARE
TWEET

Untitled

a guest Sep 15th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $filterNS = "root\cimv2"
  2.       $wmiNS = "root\subscription"
  3.       $path = "%s"
  4.  
  5.       gwmi -Class __FilterToConsumerBinding -Namespace $wmiNS | ForEach-Object {
  6.         $consumerName = $_.Consumer -Split'=',2
  7.         $filterName = $_.Filter -Split'=',2
  8.       }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top