Category: Azure
-
My PowerShell scripts to encrypt Azure VM disks
This is my steps that I took from this very long document. First we need to create a Key vault and then an AAD application, then you connect them. Make note of the output of $aadClientID. Once that is setup, you can encrypt a VM: If you did not make note of your aadClientID, then…
-
Microsoft Certified Solutions Expert: Cloud Platform and Infrastructure
I just became a Microsoft Certified Solutions Expert: Cloud Platform and Infrastructure (MCSE) ! I haven’t taken any new exams in over a year – I guess I already had enough of the requirements ! Nice?
-
My script/procedure to move Hyper-V VMs to Azure
We have been moving resources from ESXi to Hyper-V to Azure. ESXi to Hyper-V is done via the Microsoft Virtual Machine Converter (MVMC). Here is the Checklist/Script/Procedure I have been using to get Hyper-V to Azure. Once machine is in Hyper-V, make sure the VMs HDs are VHD and not VHDX Make sure DHCP is…
-
Hidden or UnDocumented Network Security Group (NSG) default rule in Azure (DNS)
I have been working to get a Citrix Netscaler up and running in Azure. It has not been easy, as all the documentation is for ASM. Our network configuration has IPSec tunnels going from OnPrem to Azure, and I have created two SubNets in Azure – a DMZ and a LAN. The DMZ has the…
-
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…
