mirror of
https://github.com/jamesstringerparsec/Easy-GPU-PV.git
synced 2024-08-30 18:22:17 +00:00
Update SetupVM.ps1
This commit is contained in:
parent
fbf11ba33e
commit
6600389ff7
@ -4,7 +4,7 @@ param(
|
||||
[string]$VMName = "GPU-P",
|
||||
[int64]$MemoryAmount = 8GB,
|
||||
[int]$CPUCores = 4,
|
||||
[string]$WindowsISOPath = "C:\Users\james\Downloads\Windows10_InsiderPreview_Client_x64_en-us_21354.iso"
|
||||
[string]$WindowsISOPath = ""
|
||||
)
|
||||
New-vhd -SizeBytes $HDDSize -Path "C:\Users\Public\Documents\Hyper-V\Virtual hard disks\$VMName.vhdx" -Dynamic
|
||||
New-VM -Name $VMName -MemoryStartupBytes $MemoryAmount -VHDPath "C:\Users\Public\Documents\Hyper-V\Virtual hard disks\$VMName.vhdx" -Generation 2 -SwitchName "Default Switch"
|
||||
|
Loading…
x
Reference in New Issue
Block a user