Minimum ITScripts engine version required: 220.127.116.11
Modifies the target machine: No
Name: Get Account Information for All Accounts
Outputs: The script will output one CSV file for all machines. The script will give descriptive errors if it fails to connect to a machine or fails to get account information.
Purpose: This script queries the target machine for information related to all accounts on the machine.
Script Version: 18.104.22.168
Target Type: Any
This script queries the target machine to get the following account information:
Computer Name, Username, Last Logon, Password Age, Password Can Expire, Privilege, Account Expires, Account Disabled, Account Locked, SID, Comment.
Possible Operations Monitor results include:
"No local accounts were found on the system."
"WMI connection to the target machine failed. Access is denied."
"WMI connection to the target machine failed. The machine may be offline or firewalled."