Attach ISO to VM via Content Library

I saw an article for PowerCLI6.5.2 that lets you do

$clISO = Get-ContentLibraryItem -Name "ISO.iso" Get-VM $VM | New-CDDrive -ContentLibraryIso $clISO 

It works, but the VM has to be powered off already and all of our VMs already have a CD/DVD Drive, so it’s not optimal to add another. Is there an alternative method now? I can’t seem to find very much at all.

submitted by /u/Throwaway061791
[link] [comments]

Leave a Reply