PowerShell script to copy the Automation Account
I have created the below PowerShell script to copy the Runbooks from one Automation Account to another. The following steps are done: Exports the Runbooks to local directory. Creates a New Automation Account. Imports the Runbooks exported in step 1 Creates a Run-As-Account for the new Automation Account. Creates credentials using the Azure Key Vault. […]