VMware {code} Community
robinstolpe
Enthusiast
Enthusiast

Why do the VM need to bee poweredoff when removing cd from powercli and not GUI?

Hi,

I'm wondering why the VM's need to bee poweredoff when I try to remove the CD/DVD device with powercli and not when I do it with the vSphere GUI?

It don't make any sense.

I'm using the following command;

Get-VM | Get-CDDrive | Remove-CDDrive -Confirm:$False

IT engineer that works with the hole VMWare portfolio and also loves to develop and automate in C# and PowerShell
0 Kudos
0 Replies