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

add or remove disk of hyperv vm using ps cmdlet fails

$
0
0

Hello Experts,

When using the hyperv cmdlet to add or detach the disks of the cluster VM, it fails when the clusterVM is on teh passive node. if it is on active node, the same command works.

=====

Command: Add-VMHardDiskDrive -VMName 'ClusterVM1' -Path 'C:\ClusterStorage\Volume1\ClusterVM1\Virtual Hard Disks\disk02.vhdx' -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 1

Error: A parameter is invalid. The Update-ClusterVirtualMachineConfiguration command could not be completed.

Inner Exception: PowerShell Exception: Exception: System.Management.Automation.RemoteException: A parameter is invalid. The Update-ClusterVirtualMachineConfiguration command could not be completed

=====

is the procedure different for the cluster VM ?

Appreciate your help.

Thanks.


Viewing all articles
Browse latest Browse all 8743

Trending Articles



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