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

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -