Advertisement
guyrleech

Get File System Filter Drivers

Apr 15th, 2024
1,046
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PowerShell 0.49 KB | Software | 0 0
  1. ## Get running file system filter drivers via WMI/CIM so can get when not elevated unlike fltmc.exe
  2.  
  3. $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