Skip to content

Instantly share code, notes, and snippets.

@bsnape
Last active August 9, 2017 19:42
Show Gist options
  • Save bsnape/fd5ce3a965bdf27fb7780161fc5cc1a9 to your computer and use it in GitHub Desktop.
Save bsnape/fd5ce3a965bdf27fb7780161fc5cc1a9 to your computer and use it in GitHub Desktop.
configuration SeqInstall {
Import-DscResource –ModuleName 'PSDesiredStateConfiguration'
node "localhost" {
File CreateFile {
DestinationPath = 'C:\Windows\Temp\foo3.txt'
Ensure = "Present"
Contents = 'Hello World!'
}
}
}
SeqInstall
Start-DscConfiguration -Path .\SeqInstall -Wait -Force -Verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment