Link to home
Start Free TrialLog in
Avatar of WellingtonIS
WellingtonIS

asked on

Scanning Machines for a local account

I want to be able to scan my network computers to see if they have a local admin account on them called wrmsupport1.  Is there any way to accomplish this - script, powershell??
ASKER CERTIFIED SOLUTION
Avatar of Alex
Alex
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
https://jdhitsolutions.com/blog/powershell/4857/getting-local-user-accounts-the-powershell-way/

Would do it too, plenty of code out there.

I mean another way if you wanted, use

get-localuser | Export-csv \\sharedlocation\users.csv -append

and have it as a login script.
Avatar of WellingtonIS
WellingtonIS

ASKER

Thanks I think that will do the trick.