get wmiobject only returtning powershell proces code example
Example: PS GWMI filters
1Get-WmiObject -Namespace root\cimv2\sms -class SMS_InstalledSoftware | Where {$_.ARPDisplayname -eq 'Box for Office' -and $_.ProductVersion -eq '4.3.1217.0'}
1Get-WmiObject -Namespace root\cimv2\sms -class SMS_InstalledSoftware | Where {$_.ARPDisplayname -eq 'Box for Office' -and $_.ProductVersion -eq '4.3.1217.0'}