The administration web service provides functions such as access to the event log, and configuration settings


# Connect to the administration web service.

Clear-Host;

$url = "http://localhost/xiaconfiguration/webservice/administration.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.