Created
November 29, 2016 06:51
-
-
Save nivleshc/aed3a1fee0f4eb2ddf4f9af167c88b8a to your computer and use it in GitHub Desktop.
Installs the Web Application Proxy Role using DSC
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 InstallWAP | |
{ | |
param | |
( | |
[string[]]$NodeName="localhost" | |
) | |
Node $NodeName | |
{ | |
LocalConfigurationManager | |
{ | |
ActionAfterReboot = 'ContinueConfiguration' | |
ConfigurationMode = 'ApplyOnly' | |
RebootNodeIfNeeded = $true | |
} | |
WindowsFeature InstallWAP #install WAP Role | |
{ | |
Ensure = "Present" | |
Name = "Web-Application-Proxy" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment