Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using the Hyper-V module for PowerShell, and I've successfully mounted an ISO file onto a virtual machine. Question is: how do I eject (or unmount) it?

I'd prefer to use the PSHyperV stuff, if there's a solution. Failing that, dipping into WMI from PowerShell would be acceptable.

(Using Windows 2008 R2, if it makes a difference)

share|improve this question

1 Answer 1

Set-VMDisk

HERE's a Powershell Hyper-V commandlet reference guide for future use.

share|improve this answer
    
A little more? I'm aware of Set-VMDisk. What's the magic incantation to get it to eject the ISO? –  Roger Lipscombe Jun 15 '11 at 16:11
    
seriously dude the full usage is detailed in the linked document, there's loads of options, no way for any of us to just tell you what you need, you've not provided enough information. –  Chopper3 Jun 15 '11 at 16:18
    
I want to unmount an ISO file. What part of that is not clear? The documentation shows how to mount one, which I can already do. –  Roger Lipscombe Jun 15 '11 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.