Scripts/HyperV.ps1


Set-VMProcessor -VMName HV01 -ExposeVirtualizationExtensions $true



$VMName = "HMP-VAULT02"
$DriveLetter = "D"
$Size = "100GB"

$Path = ""

New-VHD -Path HMP-SAGE02-D.vhdx -SizeBytes $Size -Fixed

Add-VMHardDiskDrive -VMName HMP-SAGE02 -Path .\HMP-SAGE02-D.vhdx