Skip to content

Instantly share code, notes, and snippets.

@bohack
Created May 22, 2017 14:49
Show Gist options
  • Save bohack/216e5911ab5f9195d48248b31422b698 to your computer and use it in GitHub Desktop.
Save bohack/216e5911ab5f9195d48248b31422b698 to your computer and use it in GitHub Desktop.
PowerCLI for Checking VM Time Sync
get-view -viewtype virtualmachine -Filter @{'Config.Tools.SyncTimeWithHost'='False'} | select name
@bohack
Copy link
Author

bohack commented May 22, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment