All information I could find regarding DSC on Nano Server suggest the DSC should be added to the server image upon creation, e.g. Using DSC on Nano Server:
DSC on Nano Server is an optional package in the
NanoServer\Packages
folder of the Windows Server 2016 media. The package can be installed when you create a VHD for a Nano Server by specifyingMicrosoft-NanoServer-DSC-Package
as the value of the Packages parameter of theNew-NanoServerImage
function.
Is there any way to add the DSC to an already existing system? Namely to the one deployed from 2016-Nano-Server
image provided by Microsoft on Azure.
Copy the DSC cab file from 2016 install media onto the nano server, then use DISM to add it.
You can also try using the
Install-NanoServerPackage
powershell command but I've found it to be rather buggy at the moment.