public OSImageContext AddAzureVMImage(string imageName, string mediaLocation, OSType os, string label = null) { AddAzureVMImageCmdletInfo addAzureVMImageCmdlet = new AddAzureVMImageCmdletInfo(imageName, mediaLocation, os, label); return OSImageContextRun(new WindowsAzurePowershellCmdlet(addAzureVMImageCmdlet)); }