Windows Server 2016 Technical Preview Container
Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.
PS C:\Users\Administrator> Import-Module D:\NanoServer\NanoServerImageGenerator.psm1
PS C:\Users\Administrator> $WindowsMedia = “F:\”
PS C:\Users\Administrator> New-NanoServerImage -MediaPath $WindowsMedia -BasePath D:\NanoServer -TargetPath D:\NanoServe
r\NanoContainer.vhdx -MaxSize 10GB -GuestDrivers -ReverseForwarders -Compute -Containers
cmdlet New-NanoServerImage at command pipeline position 1
Supply values for the following parameters:
AdministratorPassword: ********
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10
Copyright (C) Microsoft Corporation. All rights reserved.
Version 10.0.10586.0.amd64fre.th2_release.151029-1700
INFO : Looking for the requested Windows image in the WIM file
INFO : Image 1 selected (ServerTuva)…
INFO : Creating sparse disk…
INFO : Attaching VHDX…
INFO : Initializing disk…
INFO : Creating EFI system partition…
INFO : Formatting system volume…
INFO : Setting system partition as ESP…
INFO : Creating MSR partition…
INFO : Creating windows partition…
INFO : Formatting windows volume…
INFO : Windows path (H:) has been assigned.
INFO : System volume location: G:
INFO : Applying image to VHDX. This could take a while…
INFO : Image was applied successfully.
INFO : Making image bootable…
INFO : Drive is bootable. Cleaning up…
INFO : Closing VHDX…
INFO : Closing Windows image…
INFO : Done.
Done. The log is at: C:\Users\ADMINI~1\AppData\Local\Temp\NanoServerImageGenerator.log
PS C:\Users\Administrator> Find-ContainerImage
Name Version Description
—- ——- ———–
NanoServer 10.0.10586.0 Container OS Image of Windows Se…
WindowsServerCore 10.0.10586.0 Container OS Image of Windows Se…
PS C:\Users\Administrator> Install-ContainerImage -Name NanoServer -Version 10.0.10586.0
PS C:\Users\Administrator> Get-ContainerImage
Name Publisher Version IsOSImage
—- ——— ——- ———
NanoServer CN=Microsoft 10.0.10586.0 True
PS C:\Users\Administrator> Install-ContainerImage -Name WindowsServerCore -Version 10.0.10586.0
PS C:\Users\Administrator> Get-ContainerImage
Name Publisher Version IsOSImage
—- ——— ——- ———
NanoServer CN=Microsoft 10.0.10586.0 True
WindowsServerCore CN=Microsoft 10.0.10586.0 True
PS C:\Users\Administrator>