Score:1

Is it possible to mount an .iso file to the CD/DVD device of an VMware Workstation using command line?

eg flag

I'm on Windows and using VMware Workstation as my virtualization tool. Normally, if I want to mount an .iso file to my guest VM, I can do it through the GUI: enter image description here

I want to know if it's possible to do the same thing using command line tools? I checked its built-in tool vmrun but didn't find anything interesting.

Score:1
cn flag

Check if you can install inside the VM the PowerCLI's tool.

In PowerShell with the VMWare PowerCLI could do the trick if so.

Get-VM -Name VM_NAME | Get-CDDrive| Set-CDDrive -Connected $true -IsoPath '[DataStoreName] iso_folder\file.iso'

In worst case if you dont need that ISO at boot, just use Windows Powershell to mount your ISO; that way;

Mount-DiskImage -PassThru c:\iso\Server2012.iso

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.