Category: Azure
-
PowerShell to delete blobs in Azure
I was trying to delete a VHD in Azure via PowerShell, and I couldn’t find a good solution. Here is how you delete a blob in Azure Hope that helps someone.
-
My Azure ASM to ARM script
This is the “script” I used to move our older classic environment VMs to the new Azure Resource Manager. It it is not a function – I wanted to step through the process and make sure all was well at the different points in the script. The script assumes that there is only one Data…
-
Azure: Failed to save configuration changes to local network gateway
Seems you can’t remove a subnet from a local network with the Azure portal. Error: “Failed to save configuration changes to local network gateway” To get around this, I had to delete and recreate the local network via PowerShell. Obviously leave out the subnet you don’t want!
-
PowerShell to download and install most recent Azure PowerShell cmdlets
This script will pull down the most recent Azure PowerShell cmdlets from github. This script assumes that Microsoft has not renamed the installer file, and the most recent is at the top. hope that helps someone.
-
PowerShell script to recreate Azure Network Security Groups (NSGs)
I developed a habit when I was working with ACLs on a Cisco ASA firewall. I would keep a master list for each ACL, and when I needed to make a change, I would remove the entire ACL from the device and then recreate it each time I made a modification. For example I would run the following, and…
