Created
May 22, 2017 14:49
-
-
Save bohack/216e5911ab5f9195d48248b31422b698 to your computer and use it in GitHub Desktop.
PowerCLI for Checking VM Time Sync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get-view -viewtype virtualmachine -Filter @{'Config.Tools.SyncTimeWithHost'='False'} | select name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script will check the VM Time Sync and print the name of the VM guest if time sync with host is set to false.