Azure Automation Hybrid Workers with PowerShell Remoting and Credential Resources

This video is a follow-up to a previous one on Azure Automation with Arc-enabled Hybrid Workers.  Hybrid Workers extend runbooks to a private network, but not every computer needs to be a Hybrid Worker.  In this video, we review using PowerShell Remoting with Hybrid Workers to build idempotent runbooks that target computers inside a private network.  Then we use a shared credential resource to authenticate the runbook in the local environment.  Multiple examples showing how to target other systems with PowerShell from the Hybrid Worker are provided.

Continue reading “Azure Automation Hybrid Workers with PowerShell Remoting and Credential Resources”

Azure Automation Hybrid Worker with Azure Arc Enabled Servers

Azure Arc Automation Hybrid Worker

Azure Automation is not just for Azure!  We can extend it to an on-premises or multi-cloud environment with Hybrid Workers.  This video starts with an introduction to Hybrid Workers and then moves on to installing an Azure Automation Hybrid Worker on Azure Arc enabled severs.  We then test the implementation with a simple runbook.

Continue reading “Azure Automation Hybrid Worker with Azure Arc Enabled Servers”

Webhooks and Azure Automation Runbooks

Azure Automation

Overview

Azure Automation is Microsoft’s cloud-hosted automation solution.  It uses Python or PowerShell based scripts, referred to as runbooks, to launch automation jobs in Azure or on-premises.  These runbooks are started in multiple ways.  The information below details starting automation jobs with a webhook.

Continue reading “Webhooks and Azure Automation Runbooks”

Introduction to Azure Automation (again)

Azure Automation is a process automation tool hosted in Azure.  It provides the ability to run scripts or Runbooks in Azure, other clouds, or On-premises by a schedule or other event trigger.  In addition, we can manage inventory and change tracking with Configuration Management, keep computers up to date with Update Management, and share resources such as modules, schedules, and credentials with share resources.

Continue reading “Introduction to Azure Automation (again)”

Copy Blob Files Local with Event Grid and Azure Automation

This video demonstrates how to automatically sync Blob files in Azure Storage to a local file system.  I show how to configure Event Grid to trigger a webhook that starts a runbook in Azure Automation when a new file is added to Azure Blob Storage.  The Runbook runs on a Hybrid Worker and downloads the file from Azure Storage to a local file system. 

Continue reading “Copy Blob Files Local with Event Grid and Azure Automation”

Parent Child Runbooks and Shared Variables with Azure Automation

AzureAutomationIn this video I go over the two methods of starting a runbook from another runbook.  This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.  I go over the two different ways to start a child runbook, by Inline Execution and with the Start-AzureRMAutomationRunbook cmdlet.  Continue reading “Parent Child Runbooks and Shared Variables with Azure Automation”

Create and Run PowerShell Runbooks in Azure Automation

AzureAutomationIn this video I demonstrate how to create and run Azure Automation PowerShell Runbooks from the Azure Portal.  This includes editing, publishing and scheduling runbooks.  I also walk through the setup and use of the Azure Automation PowerShell ISE Add-on.  This module adds a graphical interface in PowerShell ISE for creating, testing and publishing Powershell and PowerShell Workflow Runbooks.  More information on the ISE add-on here. Continue reading “Create and Run PowerShell Runbooks in Azure Automation”

Authentication and Azure Automation Runbooks

AzureAutomationRecently I ran into an issue with Authentication and Azure Automation child runbooks. The goal was to call a PowerShell child runbook following the documentation here. I was using the cmdlet method, starting the runbook with the Start-AzureRmAutomationRunbook command. Trying to call the child runbook from the parent, I get the error: Continue reading “Authentication and Azure Automation Runbooks”