Azure Managed Disk snapshot and restore using PowerShell

Using Virtual Machines in Azure from time-to-time you may want to have a copy of the current point-in-time of your Virtual Machine, rather than taking a full backup of this using Recovery Services, can you create a snapshot of the Virtual Machine disk(s) using an Azure Snapshot Snapshots are in theory, a simple read-only copy…

Azure Hub-Spoke Network Configuration with Azure Firewall DNAT using PowerShell

I am going to show you how to create a Hub-Spoke network configuration with Azure Firewall using PowerShell. What is a Hub-Spoke network? Think of the Hub-Spoke as two different networks, network1 is hub, network2 is spoke. Network1 acts as the central point of connectivity and perimeter for your network where all traffic has to…

Network Security Group Ruleset to CSV

You may have a requirement from time-to-time to provide a copy of the current Network Security Group(s) rulset within your Azure subscription, in this blog I will show you how this can be be done via PowerShell Lets have a look at a sample NSG created below I am looking this ruleset to be in…

Application Security Group assignment using PowerShell

What are Application Security Groups? (ASGs) ASGs are used within a NSG to apply a network security rule to a specific workload or group of VMs – defined by ASG worked as being the “network object” & expilicit IP addresses are added to this object. This provides the capability to group VMs into associated groups…

Azure Point to Site VPN configuration using PowerShell

From time to time, a Point-to-Site VPN (P2S) is required to access your Azure Virtual Network securely from a range of computers. This VPN setup is configured using an Azure Gateway within your Virtual Network. In this blog, I will detail a test setup of how you can create this P2S configuration along with the…

Tweeting a random blog post from Rss feed using PowerShell Azure Function

Previously I blogged “Using PowerShell to automatically Tweet a random Blog Post from Table Storage” which resulted in a couple of Azure PowerShell Functions, this is a complex setup and possibly not required if all you are looking to do is Tweet a random blog post at a scheduled time. In this blog, I will…

Azure Monitor – Taking the Logging and alerting deployment from ARM To PowerShell

Azure Monitor, an all in one comprehensive solution for collecting, analyzing and acting on your cloud and/or on-premises environment. Along with this, we use both Log Analytics & Application Insights for collecting and analyzing telemetry data that allows us to view real-time metrics of how the application/environment is currently being handled. Application Insights also helps…

Azure Datacenter IP ranges from PowerShell to XML

Azure recently released an update to inform that the Weekly publication of Azure datacenter IP ranges (also known as XML files) for Azure Public, China, and Germany will be deprecated by June 30, 2020. Below is the update that was sent out:- Instead, you can now download the updated weekly publications (also known as JSON files) or programmatically retrieve this…

Enabling Alerting for Azure Recovery Services Vault

Azure Recovery Services Vault is a backup resource within Azure, primarily used for Virtual Machine backups and Azure Site Recovery. Both of which are critical to the successful running of an environment in Azure, whether it be backing up the data on the Virtual Machine or the requirement to have Site Recovery enabled to allow…

Creating Azure Service Health Alerts in PowerShell

Azure Service Health provides you with an interactive dashboard that primarily tracks the health of your Azure Services in the regions that you have deployed to. There are three types of health events that are tracked: Health Advisories:- Changes in Azure Services that require your attention, such as quota usage being exceeded or Azure resources…

%d bloggers like this: