DSC and Nano Server

Datetime:2016-08-23 03:42:25         Topic:         Share        Original >>
Here to See The Original Article!!!

Nano Server is the minimalist version of Windows that Server 2016 introduces. I needed a target for DSC this afternoon so decided that I’d spin up a Nano Server instance – because they are very, very quick to create.

Unfortunately, Nano Server doesn’t support DSC out of the box. The ROOT\Microsoft\Windows\DesiredStateConfiguration CIM namespace isn’t available for instance.

You need to add the DSC bits when you create your Nano server – use

-Packages Microsoft-NanoServer-DSC-Package

on New-NanoServerImage when you generate the Nano server virtual disk.

see https://msdn.microsoft.com/powershell/dsc/nanodsc

for current restrictions and limitations of DSC on Nano server








Put your ads here, just $200 per month.