Last active
December 2, 2016 17:50
-
-
Save bobalob/99e831c8bb4422ad9037ee9d02cad605 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 TestConfig | |
{ | |
Param( | |
$FolderName | |
) | |
Import-DscResource -ModuleName 'PSDesiredStateConfiguration' | |
Node localhost | |
{ | |
File tempFolder | |
{ | |
Ensure = 'Present' | |
DestinationPath = $FolderName | |
Type = 'Directory' | |
} | |
} | |
} | |
TestConfig -OutPutPath "C:\DSC\BasicConfig" -FolderName 'C:\Temp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment