Shavlik: Get Account Information for All Local Accounts

Version 5

    Author: Shavlik

    Category: Information

    Inputs: None

    Minimum ITScripts engine version required: 8.0.0.0

    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: 1.0.0.8

    Target Type: Any

     

    Technical Descriptions:

    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."

    "Success"