Desired state configuration is an essential tool for configuration, management and maintenance of Windows Server. PowerShell DSC is a declarative way of configuring servers, upon configuring the desired state of the server using simple PowerShell cmdlets, DSC will just make it so. PowerShell DSC facilitates standard server configurations like roles/features, file system, users/groups, and software updates. PowerShell DSC on Nano Server is an optional package. Working with DSC is a two-step process, first we create a PowerShell DSC script which gets converted to MOF File. The step in the configuration process is to use the MOF file to configure the server. PowerShell DSC can be run locally on the Nano Server or from a remote host.
The following steps describe setting PowerShell DSC on a Nano Server:
- Connect to a Nano Server using WinRM from a PowerShell Window under...