Would you like to learn how to mount a VHDX file using Powershell? In this tutorial, we are going to show you how to use Powershell to mount a VHDX file on a computer running Windows.
• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
Related tutorial – PowerShell
On this page, we offer quick access to a list of tutorials related to PowerShell.
Tutorial Powershell – Mount a VHDX or VHD file
As an Administrator, start a new POWERSHELL command-line prompt.
Mount a VHDX file using Powershell.
Here is the command output.
The system will assign a drive letter to the VHDX file.
List the volumes available.
Here is the command output.
In our example, the VHDX image was mounted as the drive D.
Unmount the VHDX file using Powershell.
Here is the command output.
Congratulations! You are able to mount a VHDX file using Powershell.