Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

ReconfigVM_Task CD/DVD backing - "Incompatible device backing specified for device '0'."

$
0
0

Hi All

I am trying to reconfigure VM using "ReconfigVM_Task". if CD/DVD is connected to the VM i want it to disconnect and change it to passthrough client device.
i know this can be done in following way and its working fine for me..

 

Get-CDDrive $_.Name | Set-CDDrive -NoMedia -Connected:$false -StartConnected:$false  -Confirm:$false

 

but i like/want to do it in quicker manner.

please guide me towards resolution. the error i am getting is "Incompatible device  backing specified for  device '0'." at vCenter there is no error in powercli console


i am suspecting following line in attached code is causing the real problem..

$spec.deviceChange[0].device.backing.DeviceName = $dev.backing.DeviceName

 

Thanks in Advance

 

-- Kind Regards

Sanshis


Viewing all articles
Browse latest Browse all 176483

Trending Articles



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