Getting the list LocalAdmins for a set of Server - C#
- by PK
I have a list of computers (stored in a database) and I want to find out the localadmins on those computers programmatically so that I can store that information in the database too.
I understand this can be done using powershell. But looking for a way to do the same thing using C#
how do I do that