1
Vote

Error Cannot convert 'System.Object[]' to the type 'Microsoft.SystemCenter.VirtualMachineManager.ISO' required by parameter 'ISO'

description

Hi,
 
Everytime I tries to run the script I get the error below. I do not have anything mapped to secondary channels. The only thing mapped is the VHD on primary channel 1. Any idea?
 
PS C:\Users\tony\Desktop\VMPrepToolKit_Update_1.1\Release> .\New-TemplateFromVM.
ps1 .\InputFile.xml
             Connecting to SCVMM Server and initializing state...
             SCVMM Connection established...
             Validating input...completed.
 
Step 1 of 6: Creating VM clone...
             VM Clone completed.
 
Step 2 of 6: Mounting ISOs and copying them locally on VM...
             Mounting LabMgmt.iso...failed. Error Cannot convert 'System.Object[]' to the type 'Microsoft.SystemCenter.VirtualMachineManager.ISO' required by parameter 'ISO'. Specified method is not supported.
             Exiting Script...
PS C:\Users\tony\Desktop\VMPrepToolKit_Update_1.1\Release>

comments

Fabiandk wrote Dec 20, 2009 at 8:12 AM

Edit: spelling error

wrote Feb 12, 2013 at 10:11 PM