Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

Using DSC on Nano Server

  • 2021-12-13
Feedback

In this article

Applies To: Windows PowerShell 5.0

DSC on Nano Server is an optional package in theNanoServer\Packages folder of the WindowsServer 2016 media. The package can be installed when you create a VHD for a Nano Server byspecifyingMicrosoft-NanoServer-DSC-Package as the value of thePackages parameter of theNew-NanoServerImage function. For example, if you are creating a VHD for a virtual machine, thecommand would look like the following:

New-NanoServerImage -Edition Standard -DeploymentType Guest -MediaPath f:\ -BasePath .\Base -TargetPath .\Nano1\Nano.vhd -ComputerName Nano1 -Packages Microsoft-NanoServer-DSC-Package

For information about installing and using Nano Server, as well as how to manage Nano Server withPowerShell Remoting, seeGetting Started with Nano Server.

DSC features available on Nano Server

Because Nano Server supports only a limited set of APIs compared to a full version of WindowsServer, DSC on Nano Server does not have full functional parity with DSC running on full SKUs forthe time being. DSC on Nano Server is in active development and is not yet feature complete.

The following DSC features are currently available on Nano Server:

Both push and pull modes

DSC features not available on Nano Server

The following DSC features are not currently available on Nano Server:

  • Decrypting MOF document with encrypted password(s)
  • Pull Server--you cannot currently set up a pull server on Nano Server
  • Anything that is not in the list of feature works

Using custom DSC resources on Nano Server

Due to a limited sets of Windows APIs and CLR libraries available on Nano Server, DSC resources that work on the full CLR version of Windows do not necessarily work on Nano Server.Complete end-to-end testing before deploying any DSC custom resources to a production environment.

See Also

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo