Citrix Hypervisor PowerShell – Restart VM

This Citrix Hypervisor PowerShell script restarts a Citrix Hypervisor host and waits for the host to be in the running state before continuing by waiting until the Netlogon service on the VM is running.