Howdy
I need to find a way to search windows servers for accounts that I’m given in a csv or excel file. I want to find out which accounts are in the local administrators group, if the account is a domain account or if it is a local account that is created on the server.
I would be searching using the users login id.
Is there any way to do this? Once the results are found then I have to disable the accounts that are found on the servers. After 30 days then I would delete them.