/DesiredStates

Desired State Configuration (DSC)

Primary LanguagePowerShell

DesiredStates

Manage Infrastructure with configuration as code.
https://docs.microsoft.com/en-us/powershell/dsc/overview

DesiredServiceState.ps1

The DesiredServiceState-Configuration configure:

  • all specified services to automatic and running inclusive of their depended services
  • all specified services to disabled and stopped.

Its backwards compatible to PowerShell v4.0. For PowerShell V5 or greather, you can use the Resource ServiceSet https://docs.microsoft.com/en-us/powershell/dsc/servicesetresource.