VMware Cloud Community
john23
Commander
Commander

powercli command to connect iso from local drive

Hi,

I am trying to connect iso from local drive to vm, is there any direct powercli command to connect.

-A

Thanks -A Read my blogs: www.openwriteup.com
Reply
0 Kudos
1 Reply
schepp
Leadership
Leadership

Hi,

as far as I know you can only mount ISOs that are stored on the Hosts datastores with powerCLI by using the Set-CDDrive cmdlet.

So you would have to upload the ISO first.

You could also automate the upload with the powerCLI by adding a custom datastore drive to your client and using the Copy-DatastoreItem to copy the ISO to the datastore.

Tim