Showing posts with label inventory. Show all posts
Showing posts with label inventory. Show all posts

Thursday, April 20, 2017

Script to inventory members of Administrators group in all computers in domain

A very frequent requirement for every administrator to list members of Administrators group of all computers (servers and desktops) in the domain. The script below can be used to run to get a csv file with a list of all computers in the domain and the members of Administrators local group. The type of member (User, Computer or Group) will be provided.

The output of the script is saved in file "AdminMembers.csv" file at the same path of script. The script also uses a temporary file "c:\RunResult.tmp" to store ping results to verify if the computer is online or not. Both can be modified in the script to values of your choice.




1

1-       INA sample review of 22 problem closure reports found that only 8 contained documented lessons learned, while the remaining 14 did ...