I have a Powershell script that checks on a set of VM status before starting them. If the VM\'S are in deallocating mode there should be a sleep and retry on 30 seconds. The