Automation Web Service
The automation web service provides user access to access and execute automation profiles and check the automation status.
# Connect to the automation web service.
Clear-Host;
$url = "http://localhost/XIAAutomation/WebService/AutomationWebService.asmx";
Write-Host "Connecting to automation web service at" $url;
$automation = New-WebServiceProxy -UseDefaultCredential -Uri $url;
Write-Host "Connected as $($automation.GET_AuthenticatedUserName())";
# To use specific credentials use the Get-Credential cmdlet.
$creds = Get-Credential;
$automation = New-WebServiceProxy -Uri $url -Credential $creds;