I used the VHD file available on Microsoft site for download.
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview
Use the New-VM cmdlet to create a new VM
I’m allocating 1024MB of memory and 2 processors for this server.
New-VM –Name NanoServer –path D:\VM –MemoryStartupBytes 1024MB
Use Set-VMProcessor cmdlet to configure 2 processors
Set-VMProcessor NanoServer –Count 2
Add network. I’m adding this server to the External VM switch.
Use Add-VMNetworkAdapter cmdlet
Add-VMNetworkAdapter –VMName NanoServer –SwitchName ‘External VM Switch’
Attach the nano VHD (already downloaded from Microsoft website) to the VM.
Use the Add-VMhardDiskDrive cmdlet
Add-VMHardDiskDrive –VMName NanoServer –path “D:\VM\NanoServer\NanoTP5.vhd”
Start the VM.
Use the Start-VM cmdlet
Start-VM –Name NanoServer
Check the VM status
Use the Get-VM cmdlet
Get-VM –Name NanoServer
Now you can connect to the VM using a Hyper-V manager.
Change the password at the first login.
You are in
Cheers 😉
Leave a comment