powershell - Filtering Get-BrokerApplication not working -
i want filter on applications start ms i'm getting error. in advance.
$applist = get-brokerapplication -adminaddress ddc -filter "ms" foreach ($app in $applist) { add-xaapplicationaccount $app -accounts "domain\users }
i did read on filter syntax of cmdlets here. works similar how regular powershell cmdlets treat filter. 1 of examples site
get-<noun> -filter 'name -like "high*" -or (priority -eq 1 -and severity -ge 2)'
i guess error getting format of input filter being incorrect. need using similar syntax show above. guess be
get-brokerapplication -adminaddress ddc -filter 'name -like "ms*"'
Comments
Post a Comment