The configuration web service provides the ability to access and update items.


# Connect to the configuration web service.

Clear-Host;

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

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

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

Write-Host "Connected as" $xia.WhoAmI();



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

$creds = Get-Credential;

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