Created
February 27, 2018 15:15
-
-
Save rchaganti/feaf23ade96269925c6ddf97ee757f28 to your computer and use it in GitHub Desktop.
startupConfig.ps1
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
Configuration GCEDemo | |
{ | |
Import-DscResource -ModuleName PSDesiredStateConfiguration -ModuleVersion 1.1 | |
Node 'localhost' | |
{ | |
WindowsFeature WebServer | |
{ | |
Name = 'Web-Server' | |
Ensure = 'Present' | |
} | |
} | |
} | |
GCEDemo -OutputPath "$env:Temp\GCEDemo" | |
Start-DscConfiguration -Wait -Verbose -Path "$env:Temp\GCEDemo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment