Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Kevin-Bronsdijk/29575a3e440c51cc094e to your computer and use it in GitHub Desktop.
Save Kevin-Bronsdijk/29575a3e440c51cc094e to your computer and use it in GitHub Desktop.
powershell-desired-state-configuration
Configuration MyName {
Node NameOfTheSystem {
#your instructions
}
}
Service Spooler {
Name = "Spooler"
StartupType = "Disabled"
}
File Reports {
DestinationPath = "c:\reports"
Type = "File"
}
Start-DSCConfiguration –path YourPath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment