Skip to content

Month: October 2020

Azure update management schedules using PowerShell

Using Azure update management (AUM) you can schedule the updates for your Azure VMs and report on compliance. AUM is an Azure automation account feature. Obviously you can manually create each schedule but that is time consuming and…well manual. This is where PowerShell comes in. If you don’t have the PowerShell Az module already installed then you can follow this Microsoft document: Install Azure PowerShell The first job is to connect or login to your…

Leave a Comment

Azure delete VM and child resources using PowerShell

In Azure delete VM is an easy task. Just go to the VM and click “Delete” on the menu. The issue is that only deletes the Virtual Machine resource, it does not delete the dependant child resources such as disk and network interface. Obviously you can manually delete each child resource but that is time consuming and…well manual. This is where PowerShell comes in. If you don’t have the PowerShell Az module already installed then…

1 Comment