Hi,
Is there any possibility to Add exisitng VHD (data disk) to existing Image in PowerShell?
I'm creating Image with MediaLocation pointing to my OS system but I have also DataDisk that want to attach. I do not see such a possibility.
The only way I see now is to create VM form that image -> attach disk -> create image again.... is there any shortcut for this?
For creating image I use:
Add-AzureVMImage -ImageName "DevCopyTest" -MediaLocation [OUR URL TO VHD] -Label "DevCopyTest" -OS "Windows" -Verbose;