Automate Azure Reporting with PowerShell! Update or Audit Your Azure Infrastructure at Scale!
Automate Azure Reporting with PowerShell! Update or Audit Your Azure Infrastructure at Scale!In this video, I walk through how I use PowerShell to create inventory reports on Azure virtual machines and how to add conditional expressions to deal with different scenarios.
Automate Azure Reporting with PowerShell! Update or Audit Your Azure Infrastructure at Scale!In this video, I walk through how I use PowerShell to create inventory reports on Azure virtual machines and how to add conditional expressions to deal with different scenarios. The benefits of creating script is to allow you to create a consistent report, which can include configuration information and allow you to add conditional expressions to update or audit resources at scale. I thought this video would be short, but I prefer to create these videos to show you the entire thought process rather than have a “demo” where everything is works perfectly! Hopefully this helps you in some sort of way, stay tuned for the next video!
00:00 Intro
01:30 Getting Started with PowerShell
03:00 Create a PowerShell Script
06:26 The Wrong Commands…
06:41 Get-AzVM
07:33 Using Foreach to Iterate an Array
10:20 Exploring Data Values
15:26 Iterating an Array in an Array (Azure Tags)
18:26 Building Better Scripts (Console Outputs)
25:05 Rainbow CSV Extension
29:41 Troubleshooting Scripts
33:52 Adding Conditional Expressions
41:23 Exporting the Easy Way
42:36 Exiting Stage Left
In this video, I walk through how to build an Azure Lab with Terraform. Its a long video but it was requested, so get your popcorn ready! I'll walk through how I build the code scratch and explain my logic and how I overcome some challenges.