diff --git a/Windows/Hyper-V b/Windows/Hyper-V.ps1 similarity index 93% rename from Windows/Hyper-V rename to Windows/Hyper-V.ps1 index e30b817..05e7444 100644 --- a/Windows/Hyper-V +++ b/Windows/Hyper-V.ps1 @@ -16,7 +16,7 @@ New-VM @vms Add-VMDvdDrive ` -VMName $vms.Name ` -Path C:\Users\keplradmin\Documents\Windows.iso -Set-VM -VMName $vms.Name –AutomaticStartAction Start +Set-VM -VMName $vms.Name -AutomaticStartAction Start Set-VM -Name $vms.Name -AutomaticStopAction Shutdown Set-VMProcessor -VMName $vms.Name -Count 4 Set-VMMemory -VMName $vms.Name -DynamicMemoryEnabled $true -MinimumBytes 4GB -StartupBytes 4GB -MaximumBytes 8GB -Priority 50 -Buffer 20