clear
$securityToken="your guid here"
$incidentUrl="http://your url here/ontimesdk/incidentservice.asmx"
$onTimeServerIncident = New-WebServiceProxy $incidentUrl -Namespace incidents
$incidentHandler = New-Object incidents.IncidentHandler
$dataset = $incidentHandler.GetAllIncidents($securityToken)
foreach ($row in $dataset.Tables[0].Rows)
{
foreach ($field in $row)
{
$field
}
}
No comments:
Post a Comment