Copying VHDs from one Azure subscription to another

The comes a time when you need to move VHDs between Azure subscriptions. You have the option of downloading the VHD locally, but at around 120GB in size, it could take a while.

There are also tools you can purchase such as Cerebrata’s Azure Management Studio for direct subscription to subscription copy, but at around $195USD for a single license, some might find it a little pricey.

This script provides an alternative method for performing a direct subscription to subscription copy using only PowerShell.

Unblocking DLLs

NTFS Alternate Data Streams (ADS) provides the mechanism for MS to block the execution of DLLs. This is a security mechanism that was first introduced in XP SP2 & Windows 2003 SP1. More info here. Alternate data streams is also a popular way for hackers to hide files from administrators.

The typical method used to remove the offending ADS, is by right clicking the DLL selecting properties and then clicking Unblock. This can become tedious if there are a lot of DLLs to unblock, or if it needs to be done frequently.