Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Powershell Hyper-V was unable to find a virtual machine with name

$
0
0

Hi,

I try to execute a simple command on my cluster to start each VM hosted on two nodes. I opened a powershell on the first node and execute the command below :

Get-VM -ComputerName (Get-ClusterNode -Cluster MYCLUSTER) | ForEach {Start-VM -Name $_.Name}

Only VM's hosted on the first node are starting, for the VM hosted on the second node I have the message :

Start-VM : Hyper-V was unable to find a virtual machine with name "MYVM10"

With the command below, all VM's are well listed :

Get-VM -ComputerName (Get-ClusterNode -Cluster MYCLUSTER) | Select VMName

Any idea ?

Thank you for your help


Viewing all articles
Browse latest Browse all 8743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>