VMware PowerCLI

The Best User Interface for your VMware Datacenter!

Content library support for Set-CDDrive cmdlet it is already available via New-CDDrive -ContentLibraryIso

pretty much what the title says we need support to connect an ISO from the content library to a VM.

currently we have to use a workaround that removes the CD drive and than adds a new one with the Content library Iso parameter set in order to have a CD drive with the mounted ISO.

 

Thanks.

  • Guest
  • Jan 28 2019
  • Planned
  • Jan 28, 2019

    Admin response

    This will be made available as soon as the Content Library API call is implemented publicly!

  • Attach files
  • RYAN ROLAND commented
    07 Nov 08:40

    How is this still not available?

    Seems fairly straightforward to pass a -ContentLibraryItem, which would be a separate ParameterSet than -IsoPath. Then taking the data from the $contentLibraryItem passed, set the mount.

    LucD has code that already essentially does this - though it mounts it as a Datastore ISO File rather than a Content Library ISO File. But this feels relatively trivial to modify.

  • Luc Dekens commented
    December 13, 2020 14:01

    As a temporary bypass you could use the function from How To Mount A Content Library ISO On A VM