WMIC can be used to manage remote computers.
If we want to execute WMIC commands on a single computer we prepend command with /node: as shown below:
/node:hostname123 - specifies single server
(wmic /node:hostname123 qfe where hotfixid="KB974571" list full)
If we want to execute WMIC commands on multiple computers listed in c:\nodes.txt we prepend command with /node:@ as shown below:
Query local groups:
wmic group where (localaccount=true) get name
Local groups with "sql" in the name: