Last active
August 9, 2017 19:42
-
-
Save bsnape/fd5ce3a965bdf27fb7780161fc5cc1a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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