... | ... | @@ -4,6 +4,7 @@ new-vm -Name 'ubuntu' -MemoryStartupBytes 512MB -NewVHDPath 'C:\hv-vm\ubuntu.vhd |
|
|
set-vm -VMName 'ubuntu' -ProcessorCount 2
|
|
|
Get-VM -Name 'ubuntu' | Add-VMDvdDrive
|
|
|
Set-VMDvdDrive -VMName 'ubuntu' -Path 'D:\dist\ubuntu-16.04.3-server-amd64.iso'
|
|
|
Set-VMMemory 'ubuntu' -DynamicMemoryEnabled $true -MinimumBytes 512MB -StartupBytes 1Gb -MaximumBytes 5GB -Priority 80 -Buffer 25
|
|
|
Start-VM ubuntu
|
|
|
vmconnect.exe localhost ubuntu
|
|
|
```
|
... | ... | |