Start an Azure Automation Runbook with a Schedule or PowerShell

Azure Automation Schedule and PowerShell

This video goes over the steps to create a shared scheduled on Azure Automation.  We review options available to create and edit a schedule.  Then we link the schedule to a runbook to automatically start a runbook based on a schedule.  Next, we view the Azure Automation and Runbook settings with PowerShell, then run and view the progress of a job.

Continue reading “Start an Azure Automation Runbook with a Schedule or PowerShell”

Link Azure Automation to Log Analytics

Azure Automation Log Analytics

Log Analytics is a great tool for storing and searching log data.  We can link an Azure Automation account to a Log Analytics workspace, but the process may not be as obvious as one would think.  In this video, we create a Log Analytics workspace then link it to Azure Automation account. Next, we configure the Automation account to send diagnostic data to a Log Analytics workspace and verify data goes to the workspace.

Continue reading “Link Azure Automation to Log Analytics”

Manage Azure Automation Runbooks with Git Source Control

Storing important automation scripts on a file share or local hard drive?  There is a better way with Azure Automation and Source Control integration.  In this video, we review how to enable source control integration with an Azure Automation account.  We look at the options, then walk-through configuring Source Control with Azure DevOps, identifying where we can specify to use GitHub instead.  Finally, we add, modify, and delete an Azure Automation runbook.

Continue reading “Manage Azure Automation Runbooks with Git Source Control”

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)”

Getting Started with Microsoft Graph and PowerShell

The Azure AD and MSOnline PowerShell Modules will be depreciated soon.  The replacement is the Microsoft Graph PowerShell module based on the Microsoft Graph API.  This video is for those new to the Microsoft Graph API.  The video starts by reviewing the change and outlining differences between the Azure AD and MSOnline modules and the new Microsoft Graph module.  We then move on to examples using groups.  We search for a group, add a group, update group membership, and then remove the group. 

Continue reading “Getting Started with Microsoft Graph and PowerShell”

Azure DevOps and PowerShell Pipelines

Azure DevOps

In this video, we build on DevOps Repos by crating a PowerShell file and running it within a PowerShell based DevOps pipeline.  A pipeline is an automation tool built into Azure DevOps that supports continuous integration, continuous development (CI/CD).  We review creating a starter pipeline, edit the pipeline to conclude inline PowerShell commands and a PowerShell Script.  We then add variables to the pipeline and change the trigger to only run manually. 

Continue reading “Azure DevOps and PowerShell Pipelines”

Use PowerShell to Create a Snapshot Based Image of an Azure Virtual Machine

PowerShell Image Snapshot

This video goes of using the SnapImage.ps1 PowerShell script.  This script automates the process of creating an image from an Azure VM without destroying it during the capture process.  At a high-level, the following steps are taken:

Continue reading “Use PowerShell to Create a Snapshot Based Image of an Azure Virtual Machine”

Schedule On-Demand Azure File Share Snapshots with an Azure Function

Azure Function

Azure Recovery Vault policies can only schedule one back a day.  This may not be frequently enough for some organizations.  On-demand backups can be initiated with PowerShell.  In this video, we use an Azure Function to schedule on-demand backup recovery points throughout the day.

Continue reading “Schedule On-Demand Azure File Share Snapshots with an Azure Function”