That seems to say that there is no VM with the name ServerNameX.
Does
Get-VM -Name ServerNameX
return anything or do you get the same error ?
That seems to say that there is no VM with the name ServerNameX.
Does
Get-VM -Name ServerNameX
return anything or do you get the same error ?