Thursday, February 2, 2012

Find out what services need credentials

Symptom: You need to adapt to a changing environment where certain Windows services may have been enabled under the credentials of a user who no longer has access to anything.

How do you get a list of servers, service, and credentials quickly?

wmic /node:server1,server2,server3,"server-4" services get DisplayName,StartName /Format:csv