From 0a405856a88022477aa5d559c5b3ba01a633d4e1 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Sat, 2 Mar 2024 12:15:00 -0700 Subject: [PATCH] Add files via upload --- proxmox/proxmox-win10-vm-sync-time.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 proxmox/proxmox-win10-vm-sync-time.sh diff --git a/proxmox/proxmox-win10-vm-sync-time.sh b/proxmox/proxmox-win10-vm-sync-time.sh new file mode 100644 index 0000000..513db4a --- /dev/null +++ b/proxmox/proxmox-win10-vm-sync-time.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# arg1 = vmid +echo "$(date) - syncing time on Win VM $1" +set -x +qm guest exec $1 w32tm /resync +set +x +date + +# REF: https://windowsloop.com/windows-time-sync-command/ +# REF: https://pve.proxmox.com/pve-docs/qm.1.html