Administration Web Service (System Administrators)
This web services is also used by the administration tools.
# Connect to the administration web service.
$url = "http://localhost/XIAAutomation/WebService/AdministrationWebService.asmx";
Write-Host "Connecting to administration web service at" $url;
$administration = New-WebServiceProxy -UseDefaultCredential -Uri $url;
Write-Host "Connected as $($administration.GET_AuthenticatedUserName())";
# To use specific credentials use the Get-Credential cmdlet.
$creds = Get-Credential;
$administration = New-WebServiceProxy -Uri $url -Credential $creds;
NOTE: Only system administrators can access this web service.