Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Get running file system filter drivers via WMI/CIM so can get when not elevated unlike fltmc.exe
- $drivers=Get-CimInstance -classname Win32_SystemDriver; Get-CimInstance -ClassName Win32_LoadOrderGroupServiceMembers| Where-Object { $_.GroupComponent.Name -match '^FSFilter' } | Select @{n='Driver';e={$_.PartComponent.Name}},@{n='Group';e={$_.GroupComponent.Name}}|Select *,@{n='State';e={$drivers|Where-Object Name -ieq $_.Driver|Select -ExpandProperty State}}|Where State -ieq 'Running'|sort driver
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement