March 12th, 2016

PowerTip: Use PowerShell to dismount a disk image

Doctor Scripto
Scripter

Summary:  Learn how to use Windows PowerShell to dismount a virtual disk or ISO.

Hey, Scripting Guy! Question How can I use Windows PowerShell to dismount a virtual disk?

Hey, Scripting Guy! Answer Use the Dismount-DiskImage cmdlet. It will dismount either an ISO or a virtual hard disk. Specify the path then using -imagepath. Here is an example:

Dismount-DiskImage -imagepath “C:\fso\myisodisk.iso”

7610.Dr.ScriptoForTips

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.