What is a desired state configuration?
Desired State Configuration, or DSC, is a tool built into PowerShell that can be used to define a Windows host setup through code. The overall purpose of DSC is the same as Ansible, it is just executed in a different manner.
Why is desired state configuration beneficial?
The DSC platform enables you to ensure that the components of your data center have the correct configuration, which avoids errors and prevents costly deployment failures. By treating DSC configurations as part of application code, DSC enables continuous deployment.
What is Windows desired state configuration?
Desired State Configuration (DSC) is a configuration management system that is built into Windows and enables you to configure your system As Code. It uses a configuration written in PowerShell that is later on converted to a Managed Object Format (MOF).
What is desired state configuration in Azure?
Desired State Configuration is a management platform in PowerShell that enables you to manage your IT and development infrastructure with configuration as a code.
What is a desired state?
The desired state is the definition of what your business will look like and will have accomplished once your strategy is complete. This is one of the most motivating parts of strategic planning because this is where you can freely dream about your ultimate goal.
How should you complete the desired state configuration?
How should you complete the Desired State Configuration (DSC) configuration script? To answer, drag the appropriate values to the correct locations. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Can DSC replace GPO?
It’s still the best and easiest way to configure your domain-joined devices and is still a good choice for client installations. However, Nano Server is in another league. Microsoft thinks servers deserve configuration options other than traditional GPOs. DSC aims to replace Group Policy on Nano Server installations.
Why is DSC in PowerShell beneficial?
DSC provides a set of Windows PowerShell language extensions, new Windows PowerShell Cmdlets, and resources that you can use to declaratively specify how you want your operating system and software environment to be configured. It also provides a means to maintain and manage existing configurations.
How does DSC work in PowerShell?
PowerShell DSC is an Infrastructure as Code (IaC) technology that uses PowerShell to create Managed Object Format (MOF) files, which Windows Management Instrumentation (WMI) can use to configure a machine. In other words, PowerShell DSC uses PowerShell to programmatically configure your Windows-based computers.
What is DSC extension?
The Azure DSC extension uses the Azure VM Agent framework to deliver, enact, and report on DSC configurations running on Azure VMs. The DSC extension accepts a configuration document and a set of parameters. If no file is provided, a default configuration script is embedded with the extension.
What is present state and desired state?
The present state/desired state technique is a means to determine the real problem by first describing the present state (where you are) and then describing the desired state (where you want to go).
Is Ansible desired state?
Desired State Configuration, or DSC, is a tool built into PowerShell that can be used to define a Windows host setup through code. Since Ansible 2.4, the win_dsc module has been added and can be used to leverage existing DSC resources when interacting with a Windows host.
How are DSC and chef similar to each other?
DSC is similar to Chef, in that both tools are idempotent, take similar approaches to the concept of resources, describe the configuration of a system, and then take the steps required to do that configuration.
What’s the difference between SCCM and Chef server?
But even a big fish like Chef is still a minnow compared to the whale that is SCCM, which runs on about two-thirds of enterprise organizations. This is largely due to the fact that as a Microsoft product, SCCM rides on the dominance of Windows desktop and server.
What is the desired state configuration in PowerShell?
Desired State Configuration (DSC) is a feature of Windows PowerShell that provides a set of language extensions, cmdlets, and resources that can be used to declaratively configure software.
How to Change DSC resource Resource in chef?
To suggest a change, edit the dsc_resource.rb file and submit a pull request to the Chef Infra Client repository. Windows PowerShell is a task-based command-line shell and scripting language developed by Microsoft.