Shavlik Script Catalog: Get Date Time

Version 4

    Author: Shavlik
    Category: Information
    Inputs: None
    Minimum ITScripts engine version required:  8.0.0.0
    Modifies the target machine: No
    Name: Get Date Time
    Outputs: Date-time of target computer

    Purpose: Get the local date and time of the target computer

    Script Version: 1.0.1.2

    Target Type: Any

     

    Technical Description:

    This script will return the local date and time of the target computer using WMI by selecting LocalDateTime from win32_operatingsystem.  If the script passes the OpsMon will display the targets Date and Time.  If the script fails typically a "Get-WmiObject failed" would be the cause. This script is intended for assisting in troubleshooting issues that may be time related.  DST issues, time sync issues, etc.