Skip to content

Instantly share code, notes, and snippets.

@jamesallen-cm
Last active August 29, 2015 14:23
Show Gist options
  • Save jamesallen-cm/f3ce09c62db2a81dc59e to your computer and use it in GitHub Desktop.
Save jamesallen-cm/f3ce09c62db2a81dc59e to your computer and use it in GitHub Desktop.
Applies the HTTPPullServer Configuration to a server
# 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