Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Check local administrators groups of a massive group of pc's

$
0
0

I need a way to find out what the groups are of all the local admins of all of the pc's in my domain.

Basically, I made a script that would remove one Local Administrator group then add another one. I need to know that the script ran correctly on all the computers without going to every PC in the domain. (which would suck because they are spread out all across my state)

Please give me some ideas. Maybe a Powershell Script or a VB script..

Also all the PC's have multiple mapped network locations on startup so maybe I can run a script that can just edit a file in one of these locations. 

I have done alot of reading and having a hard time finding exactly what I need.

Idea: I also use Altiris to push alot of my scripts and stuff. I basically just need a count of how many pc's now have this local administrator group.

Thanks.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>