PowerTip: Use PowerShell to dismount a disk image

Doctor Scripto

Dr Scripto

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

0 comments

Leave a comment