Python Script to list Azure Inventory for all subscriptions.

While trying to find a proper script which can list all the resources across all the subscriptions in an Azure tenancy, I had tried few variations of PowerShell scripts, which gave some details but not what I had visualised and not in the same format or speed. I had asked Cline AI bot to help …

Powershell script to list the .Net core version in an Azure Virtual Machine using Invoke-AzVmRunCommand

Tasked with finding a script to list the installed .NET Core versions in an Azure VM within a locked down environment, we tried multitude option and ended up with the below provided script which helps to run a script using the Invoke-AzVMRunCommand. This script uses Azure PowerShell 7.3.1 or later and requires latest version of …

Powershell to list Azure Server Backup Report from the Azure Recovery Service Vaults

I searched the internet for ideas and eventually wrote a PS script to retrieve the Azure Server backup details. I took the original script idea from the superuser site post https://superuser.com/questions/1716872/azure-server-backup-report and modified it to fit my needs, which worked well. The Script below is working fine and can be further modified to fit your …

Powershell script to set Azure key vault key auto rotation policy

One of the pen-testing results, as well as the Azure security advisor recommendation, is to have an expiry date for the azure key vault keys. Although not all keys can be rotated at all times because they may be associated with one or the other option depending on how they are used in any Azure …

Azure Database for PostgreSQL Disaster Recovery

Summary To ensure resiliency of data stored in the Azure Database for PostgreSQL servers within the environment, the server instance(s) are configured to replicate data via GRS to the paired secondary region, in this case, UAE Central. This page describes the capabilities that Azure Database for PostgreSQL provides for business continuity and disaster recovery, options …

Configure Expressroute and Site to Site in a co-existence setup using existing Gateway Subnet and Virtual Network in the same subscription

Overview This document outlines the proposed steps to take to configure a connection from the Expressroute circuit to existing virtual network in the hub subscription. Limits and limitations Only route-based VPN gateway is supported. You must use a route-based VPN gateway. You also can use a route-based VPN gateway with a VPN connection configured for ‘policy-based traffic …