Last active
December 19, 2015 13:43
-
-
Save guitarrapc/3e282fd441e2a3ba17b4 to your computer and use it in GitHub Desktop.
This file contains 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
Invoke-DscResource -Name File -Method Get -ModuleName "PSDesiredStateConfiguration" -Property @{ | |
DestinationPath = "d:\hoge\DirectAccess.txt"; | |
Contents = 'This file is create by Invoke-DscResource' | |
} |
This file contains 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
Invoke-DscResource -Name File -Method Set -ModuleName "PSDesiredStateConfiguration" -Property @{ | |
DestinationPath = "d:\hoge\DirectAccess.txt"; | |
Contents = 'This file is create by Invoke-DscResource' | |
} |
This file contains 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
Invoke-DscResource -Name File -Method Test -ModuleName "PSDesiredStateConfiguration" -Property @{ | |
DestinationPath = "d:\hoge\DirectAccess.txt"; | |
Contents = 'This file is create by Invoke-DscResource' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment