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”

Git and VS Code for the Lone Scripter

This is where my last two articles, Git for System Admin Scripting and Get Started with Git Remote, come together.  Microsoft’s Visual Studio Code (VS Code) is a powerful and extendable IDE.  VS Code supports Git out of the box.  It also supports many programming and scripting languages with Microsoft and 3rd party extensions.  In this article, I walk through common tasks that we have already covered, only this time with the native Git integration within VS Code.  I also review new functionality with a free 3rd party extension.

Continue reading “Git and VS Code for the Lone Scripter”

Git for System Admin Scripting

Git

I spent most of my time in IT as a system admin, on the “Ops” side of DevOps.  Over the years, I have accumulated many different batch files and scripts of one type or another.  File shares worked well for storing the code I write.  I discovered Git and it’s become my main repository for all script related code.  Recently, I attempted to make a case to other admins for using Git, but failed to make a convincing case.  Below, I lay out my case to why a sysadmin or anyone writing any kind of script should move to Git.  I also outline how I use it in an effort to make my case and help anyone interested in getting started with Git. 

Continue reading “Git for System Admin Scripting”

How to use a Free GitHub Account to Manage Azure Automation Runbooks

Azure Automation

Controlling source code is important for good code management, especially when multiple people are working on a project.  In this video, I’m going to show you how to connect an Azure Automation account with a free or paid GitHub account.

Continue reading “How to use a Free GitHub Account to Manage Azure Automation Runbooks”