Last active
August 29, 2015 14:23
-
-
Save jamesallen-cm/f3ce09c62db2a81dc59e to your computer and use it in GitHub Desktop.
Applies the HTTPPullServer Configuration to a server
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
# Be sure to change the computer name to your server | |
$node = "WIN-C6U0AQ5K17N" | |
$cred = Get-Credential administrator | |
# Deploy HTTP Pull Server | |
Start-DscConfiguration -Force -Path C:\DSC\HTTP -Credential $cred -ComputerName $node -Verbose -Wait | |
# Test the pull server | |
Start-Process -FilePath iexplore.exe "http://$($node):8080/PSDSCPullServer.svc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment