As I described in an earlier post the Technical Preview 3 was released today and I wanted to test things. Apparently there was quite a few more thinking this way as it seems containers vhd takes forever to download but that gave me a reason to look more at the new NanoServer version.
in the TP3 media there is the NanoServer folder and to deploy Microsoft and the Nanoteam has added the PS scripts in that folder making it ridiculously easy to get things up and running (even if my title says monkey I doubt that a chimpanzee would pull it of?!)
So I copied the folder to my server and ran the powershell for creating a virtual hard disk and a virtual machine with that disk.. As you can see I added some parameters such as -compute (hyper-v role) and -clustering (for failover cluster role) and name of the nanoserver, in this case I wanted it to be a hyper-v vm so I added the hyper-v integration components also but you could add some other drivers for a physical box NIC´s etc instead.
PS C:\NanoServer> . .\new-nanoserverimage.ps1
PS C:\NanoServer> New-NanoServerImage -MediaPath d:\ -BasePath C:\NanoServer\ -TargetPath v:\vms\hyptp3nano -Compute -Clustering -GuestDrivers -ComputerName hyptp3nano -AdministratorPassword (convertto-securestring -string "P@ssw0rd" -asplaintext -force) -DomainName vniklas.com
PS C:\NanoServer> New-VM -Name HYPTP3Nano -MemoryStartupBytes 512MB -SwitchName External -VHDPath V:\VMs\hyptp3nano\hyptp3nano.vhd -Path v:\vms\hyptp3nano -Generation 1
PS C:\NanoServer> start-vm HYPTP3Nano
The NanoServer team has taking feedback and making a console access that can let you log on and see basic stuff and also enable/disable networking so this looks really promising for the RTM release!
and of course you can still use powershell remoting to access and manage that Nanoserver.
Now time to sleep and tomorrow I will check out the Container stuff!