Category: Welcome Page

Just another User's blog Site

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…
Read more

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…
Read more

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…
Read more

PowerShell script used to Delete resourcegroup level locks in all your Azure Subscriptions

A script used to get the list of all ResourceGroups matching a naming format in all your Azure Subscriptions. It will check for existence of a ResourceGroup level lock presence and if present, it will delete them.

PowerShell script used to create resource group level locks in all your Azure Subscriptions

A script used to get the list of all ResourceGroups in all your Azure Subscriptions. It will check for existence of a ResourceGroup level lock presence and if not present will create a lock.

Powershell script to export Azure Network Security Group rules in all of the Subscriptions

A script used to get the list of all Network Security Groups (NSGs) in all your Azure Subscriptions.Finally, it will export the report into a csv file in the location specified. Credits to Charbel Nemnom – https://charbelnemnom.com

Azure Monitor Ops Procedure

Overview of the component How component is accessed Access controls for the component How to deploy the component using Terraform An example of how to enable post-deployment configuration (if required) How to perform a backup and restoration How to conduct DR (fail-over and fail-back) and services recovery How to scale resources (in/out and up/down) where…
Read more

Potato mash dish

A simple south indian style potato side dish which can be eaten along with Naan, Roti’s or rice. Ingredients: Russet Potato – 3-4 (boiled) Lemon – 1 Spices Mustard Seeds – 1/2 teaspoon Vegetable Oil – 1/2 teaspoon Turmeric Powder Coriander Leaves cumin seeds – 1/4 teaspoon Green Chilies – 1 Ginger Julienne Salt (to…
Read more

Azure Key vault

Overview of the component How component is accessed Access controls for the component How to deploy the component using Terraform An example of how to enable post-deployment configuration (if required) How to perform a backup and restoration How to conduct DR (fail-over and fail-back) and services recovery How to scale resources (in/out and up/down) where…
Read more