This is a sample script that shows how to use WMI retrieve members of the local Administrators group on one or more computers. This script uses the group's SID (S-1-5-32-544) rather than the English name 'Administrators'. This means the script works on computers where the group isn't named 'Administrators' (for example, if the group is renamed or if it's on a non- English version of Windows). The script uses the GetRelated method to enumerate the group's members. Alternate credentials are supported for connecting to remote computers.