SCO: Start Runbooks from Command-Line

Sometimes you may need to schedule a Runbook to run at a specific time. I advise you to use SCOJobRunner.

What is SCOJobRunner?

This is a command-line tool that you can use to quickly start runbooks. You can invoke runbooks for Orchestrator 2012 and higher.

If you want to try SCOJobRunner, first download it from codeplex: http://orchestrator.codeplex.com/releases/view/87873

How to use SCOJobRunner?

Simply run scojobrunner.exe and you will get the syntax.

 

 

It also works with Orchestrator 2016. OK, now let’s imagine I want to schedule my runbook.

First, you must have the name of your Runbook. If your runbook is located in a subfolder, you must also indicate the name of this subfolder.

Next, open the task scheduler and create a basic task:

In this example, “SCCM” is my subfolder, and “Export_Devices” is the name of my RunBook.

To finish, you just have to run the task and SCOJobRunner.exe will start your runbook.

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.