DSC and Nano Server
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
on New-NanoServerImage when you generate the Nano server virtual disk.
for current restrictions and limitations of DSC on Nano server