Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created August 3, 2016 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guitarrapc/b69d8105b1909fbbe82b3b68bed48b20 to your computer and use it in GitHub Desktop.
Save guitarrapc/b69d8105b1909fbbe82b3b68bed48b20 to your computer and use it in GitHub Desktop.
configuration DestinationFolder
{
Import-DscResource -ModuleName PSDesiredStateConfiguration;
Node localhost
{
File DestinationFolder
{
Ensure = "Present"
DestinationPath = $Node.Destination
Type = 'Directory'
Force = $true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment