Created
April 17, 2015 15:58
-
-
Save mgreenegit/a92f115c76631013bbfc to your computer and use it in GitHub Desktop.
Validate DSC Pull Server Functionality
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
# This function is meant to simplify a check against a DSC Pull Server. If you do not use the default service URL, you will need to adjust accordingly. | |
function Verify-DSCPullServer ($fqdn) { | |
([xml](invoke-webrequest "https://$($fqdn):8080/psdscpullserver.svc" | % Content)).service.workspace.collection.href | |
} | |
Verify-DSCPullServer 'INSERT SERVER FQDN' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected output is:
Action
Module
StatusReport
Node