See how to use PowerShell and the SCO web service to start a Runbook, finish this Recipe to get a complete PowerShell Script:
- Log on to your server or workstation and start PowerShell ISE
- First, let's start by configuring our credentials. Enter the following:
#Credentials $secpasswd = ConvertTo-SecureString "myhighsecurepassword" - AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ("doamin\user", $secpasswd)
- Enter your password and user name to connect to your SCO Server.
- Next, we need to configure our SCO server; enter the following:
#Orchestrator Server Name $SCOServer = "svtgsco01" ...