Hello all
We noticed some errors with VMotion and discovered we have quite a
few hosts with Floppy and/or CD connected to a host or ISO. We would
like to ensure all are connected to the Client Device so we have no
interruption with VMotion.
Does anyone know how to possibly change these setting from the CLI?
Thanks
this can be easily done via powershell (hence the forum you in)
are you wanting RCLI or powershell?
get-vm | get-floppydrive | set-floppydrive -connected:$false get-vm | get-cddrive | set-cddrive -connected:$false
Hello
I am new to PowerShell but working through some docs and examples now.
Thank you for your response - I will give it a try soon.
NoMedia should do it, but you may want to disconnect as well. Take the -whatif off when happy.
Get-VM | Get-CDDrive | Set-CDDrive -Connected:$false -NoMedia -WhatIf
[PowerShell MVP|https://mvp.support.microsoft.com/profile=5547F213-A069-45F8-B5D1-17E5BD3F362F], VI Toolkit forum moderator
Author of the upcoming book: Managing VMware Infrastructure with PowerShell
Co-Host, PowerScripting Podcast (http://powerscripting.net)
Need general, non-VMware-related PowerShell Help? Try the forums at PowerShellCommunity.org
Thanks for your response, I appreciate the help this group is offering on this.
Regards