Dismount-VHDRegistry.ps1
Function Dismount-VHDRegistry { <# .SYNOPSIS Unloads a mounted VHD-Registry .DESCRIPTION Unloads a mounted VHD-Registry from the current Machine-Registry and saves the changes. .EXAMPLE Dismount-VHDRegistry Dismounts a mounted Registry-Hive from HKLM:\Mount .NOTES Version: 1.0 Author: Holger Voges Date: 2018-08-17 www.netz-weise-it.training/weisheiten/ #> param( [string]$RegMountPath = '\vhd' ) $Null = reg.exe unload HKLM$RegMountPath } |