Connect to nested Hyper-V VMs in Azure from another Virtual Network using VPN Gateway

Nested Hyper-V VMs in Azure has been available for a while now, its great for alot of different scenarios such as unsupported operating systems that run legacy applications to sandbox environments. After creation of these VMs in a nested Hyper-V Virtual Machine (VM) you will possibly want to connect these VMs to other VMs in…

Creating custom runbooks from start/stop VM solution for specific sets of VMs using tags for sequenced start/stop

Azure provides a start/stop VM solution that allows you to stop/start VMs on a schedule; it consists of multiple PowerShell runbooks. This solution offers three options when deployed:- Schedule VMs to start and stop Schedule VMs to start and stop in ascending order by using Azure Tags Autostop Vms based on low CPU usage Overtime…

Copy Azure Virtual Machine Snapshots to another region and create Managed disks using PowerShell

In my previous blog, I detailed how to create Virtual Machine (VM) snapshots of all disks and restore in Azure using PowerShell, this is a follow-on blog detailing how you can copy the Virtual Machine disk snapshots to another region, for additional backup purposes for those VMs that cannot be backedup using Azure-related backup resources,…

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…

%d bloggers like this: