The error is mentioning that i may be related to the vmware tools being too low, which I need to check, if it is should I just downgrade my powercli version if I can't restart these
Here is the basic script I'm running
$vms=Get-VM
foreach ($vm in $vms)
{
Invoke-VMScript -VM $vm -ScriptText $script -GuestUser $guestuser -GuestPassword $guestpassword
}
and the error