Mount VHDX: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
Zeile 9: Zeile 9:
 
'''Dismount'''
 
'''Dismount'''
 
  diskpart
 
  diskpart
 +
select vdisk file="<location_of_vhd>"
 
  detach vdisk  
 
  detach vdisk  
  

Version vom 23. Juni 2020, 10:23 Uhr

Mount VHD/VHDX with CMD

Mount-vhd-from-command-line.png

Mount

diskpart
select vdisk file="<location_of_vhd>"
attach vdisk

Dismount

diskpart
select vdisk file="<location_of_vhd>"
detach vdisk 


Mount/Dismount VHD/VHDX with PowerShell

Mount

Mount-VHD –Path "<location_of_vhd>"

Dismount

Dismount-VHD –Path "<location_of_vhd>"