PowerTip: List Runbooks with PowerShell

Doctor Scripto

Summary: Use community-based cmdlets to list available runbooks in Orchestrator.

Hey, Scripting Guy! Question How can I list the runbooks in Orchestrator by using Windows PowerShell?

Hey, Scripting Guy! Answer Leverage the Orchestrator Web Service PowerShell Cmdlets from CodePlex, and use the following new cmdlets:

$ORCHSRV=”MyOrchestratorServerName”

$OWS=NEW-SCOWebServerURL –servername $ORCHSRV

GET-SCOMonitorRunbook –WebServerUrl $OWS | FORMAT-TABLE Path,Name,Id -autosize

0 comments

Discussion is closed.

Feedback usabilla icon