Hi,
I am trying to create a VM through powershell from a custom VM image. The custom image was captured with the Generalized parameter, and it contains both an OS vhd AND a data vhd. The custom image is located in storage account X. I am trying to create VMs from that image but I want the new vhds to be created on another existing storage account Y. I tried setting the current storage account of the subscription to Y, but the new VM vhds are created in storage X. Is there a way to do this through the use of New-AzureVMConfig and the MediaLocation parameter?
Thanks in advance...