I have added a "SearchingUser" user to administrators group of a remote server "RemoteServer". I am trying to verify the user is added to the server using WMIC and this is the command:
wmic /node:RemoteServer useraccount where "name='SearchingUser' and Domain='domainNameHere'" list
I am sure the user is added but the query result is:
"No Instance(s) Available"
How can I find if the user is added to specified group thru WMI
Thanks