So how do you start a Runbook using PowerShell? This seems easy as Microsoft already provide some code Start a Runbook using PowerShell, but there is a catch. To use the code, you must know the GUID of the Runbook and the parameters (if any). So how do you get the MUST HAVE GUIDs? I found multiple blogs that shows SQL query, Excel PowerPivot or else, but how to do it using PowerShell?
I have created 2 simple PowerShell scripts: - GetRunbookGUIDs.ps1 - ListAllRunbookGUIDs.ps1
Download the script from the Script Center Repository here
This posting is provided "AS IS" with no warranties and confers no rights.