Wildcard Search in -Filter
Get-WmiObject -Class Win32_Service -Filter "name LIKE 'vss%'"
It uses WQL for the filtering (% is wildcard)
Which ends up being run as
Get-WmiObject -Query "Select * From win32_service Where name Like 'vss%'"
Get-WmiObject -Class Win32_Service -Filter "name LIKE 'vss%'"
It uses WQL for the filtering (% is wildcard)
Which ends up being run as
Get-WmiObject -Query "Select * From win32_service Where name Like 'vss%'"