PowerShell Workflow Runbooks 4 MIN READ

PowerShell Workflow runbooks are text runbooks based on Windows PowerShell Workflow. You directly edit the code of the runbook using the text editor in the Azure portal. You can also use any offline text editor and import the runbook into Azure Automation.




Add code to the runbook

You can either type code directly into the runbook, or you can select cmdlets, runbooks, and assets from the library control and add them to the runbook.

For example, we will try to connect SharePoint Online using App Registration.

Publish and start the runbook

How to get file from SharePoint directory or any cloud storage

Methods to connect Automation account with resources:

Create new runbook

Start by creating a simple PowerShell Workflow runbook. One advantage of Windows PowerShell Workflows is the ability to perform a set of commands in parallel instead of sequentially as with a typical script.

Test the Runbook