O'Reilly logo

Microsoft System Center 2016 Orchestrator Cookbook - Second Edition by Samuel Erskine, Steve Beaumont, Andreas Baumgarten, Michael Seidl

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it…

See how to use PowerShell and the SCO web service to start a Runbook, finish this Recipe to get a complete PowerShell Script:

  1. Log on to your server or workstation and start PowerShell ISE
  1. 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)
  1. Enter your password and user name to connect to your SCO Server.
  2. Next, we need to configure our SCO server; enter the following:
      #Orchestrator Server Name      $SCOServer = "svtgsco01" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required