Category: 5. PowerShell DSC

  • DSC Resources

    The resources of desired state configuration provide the building blocks for the DSC configuration. The following are the basic built-in configuration resources of the Desired State Configuration: DSC Local Configuration Manager (LCM) It is an engine of Desired State Configuration. The Local Configuration Manager is responsible for enacting and parsing configurations which are sent to…

  • DSC Configurations

    DSC Configurations are the scripts of PowerShell, which define a special type of function. We use the keyword Configuration to define the configuration. Syntax of DSC Configuration The configuration script consists of the following parts: Example: In this example, we can specify the name of the node by passing the parameter computerName when we compile the configuration. Type the following…

  • PowerShell DSC

    The Desired State Configuration (DSC) is a management platform in a PowerShell that is used for development, configuration, and management of systems. PowerShell DSC was introduced in version 4.0. So, if you want to use it, you need a version 4.0 or above of PowerShell. It is available on Linux, Windows, and Nano Server. It provides…