Minimum ITScripts engine version required: 220.127.116.11
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: 18.104.22.168
Target Type: Any
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.