The reporting web service provides access to the reporting system including the ability to modify and execute reports and report binders.


# Connect to the reporting web service.

Clear-Host;

$url = "http://localhost/xiaconfiguration/webservice/reporting.asmx";

Write-Host "Connecting to reporting web service at" $url;

$reporting = New-WebServiceProxy -UseDefaultCredential -Uri $url;

Write-Host "Connected as" $reporting.GET_AuthenticatedUserName();



# To use specific credentials use the Get-Credential cmdlet.

$creds = Get-Credential;

$reporting = New-WebServiceProxy -Uri $url -Credential $creds;