The administration web service provides functions such as access to the system configuration, licensing information, and server diagnostics


This web services is also used by the administration tools.



# Connect to the administration web service.

Clear-Host;

$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.