Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Loading PowerCLI plugin, this may take a little while.
- Building Primary Site
- Determining automate.ini settings.
- Datastores will be built and added to vCenter.
- Windows 2003 VM for Lab will be created.
- Windows XP VM for VMware View Lab to be built.
- Connect to vCenter; this takes a while and may show a warning in yellow
- WARNING: There were one or more problems with the server certificate:
- * The X509 chain could not be built up to the root certificate.
- Create datacenter and cluster
- host1.lab.local
- host2.lab.local
- Restarting all hosts for consistency. This will take a few minutes.
- All hosts are connected.
- Creating iSCSI datastores.
- Registering all VMs found on existing datastore iSCSI1.
- Registering all VMs found on existing datastore iSCSI2.
- Register all VMs found on existing datastore iSCSI3
- Setting up HA on cluster since shared storage is configured.
- Waiting two minutes for HA to complete configuration.
- Creating WinTemplate VM Windows Server 2003.
- Found ESXi version (Get-vmhost)[0].version
- New-VM : Cannot bind parameter 'Version'. Cannot convert value "v9" to type "VM
- ware.VimAutomation.ViCore.Types.V1.VM.VMVersion" due to invalid enumeration val
- ues. Specify one of the following enumeration values and try again. The possibl
- e enumeration values are "Unknown, v4, v7, v8".
- At C:\AddHosts.ps1:324 char:172
- + $MyVM = New-VM -Name $VMName -VMhost $vmHost -datastore $Data
- store -NumCPU 1 -MemoryMB 384 -DiskMB 3072 -DiskStorageFormat Thin -GuestID win
- NetEnterpriseGuest -Version <<<< "v9"
- + CategoryInfo : InvalidArgument: (:) [New-VM], ParameterBindingE
- xception
- + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,VMware.VimAutomat
- ion.ViCore.Cmdlets.Commands.NewVM
- New-CDDrive : Cannot validate argument on parameter 'VM'. The argument is null.
- Supply a non-null argument and try the command again.
- At C:\AddHosts.ps1:326 char:27
- + $null = New-CDDrive -VM <<<< $MyVM -ISOPath "[Build] /Auto2K3.is
- o" -StartConnected
- + CategoryInfo : InvalidData: (:) [New-CDDrive], ParameterBinding
- ValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
- ation.ViCore.Cmdlets.Commands.VirtualDevice.NewCDDrive
- Powering on VM and installing Windows.
- Start-VM : Cannot validate argument on parameter 'VM'. The argument is null or
- empty. Supply an argument that is not null or empty and then try the command ag
- ain.
- At C:\AddHosts.ps1:328 char:20
- + $null = Start-VM <<<< $MyVM
- + CategoryInfo : InvalidData: (:) [Start-VM], ParameterBindingVal
- idationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
- ation.ViCore.Cmdlets.Commands.StartVM
- Creating Windows XP VM for View.
- New-VM : Cannot bind parameter 'Version'. Cannot convert value "v9" to type "VM
- ware.VimAutomation.ViCore.Types.V1.VM.VMVersion" due to invalid enumeration val
- ues. Specify one of the following enumeration values and try again. The possibl
- e enumeration values are "Unknown, v4, v7, v8".
- At C:\AddHosts.ps1:354 char:127
- + $MyVM = New-VM -Name $VMName -VMhost $vmHost -datastore $Data
- store -NumCPU 1 -MemoryMB 384 -GuestID winXPProGuest -Version <<<< "v9"
- + CategoryInfo : InvalidArgument: (:) [New-VM], ParameterBindingE
- xception
- + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,VMware.VimAutomat
- ion.ViCore.Cmdlets.Commands.NewVM
- New-CDDrive : Cannot validate argument on parameter 'VM'. The argument is null.
- Supply a non-null argument and try the command again.
- At C:\AddHosts.ps1:356 char:27
- + $null = New-CDDrive -VM <<<< $MyVM -ISOPath "[Build] /AutoXP.iso
- " -StartConnected
- + CategoryInfo : InvalidData: (:) [New-CDDrive], ParameterBinding
- ValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
- ation.ViCore.Cmdlets.Commands.VirtualDevice.NewCDDrive
- New-FloppyDrive : Cannot validate argument on parameter 'VM'. The argument is n
- ull. Supply a non-null argument and try the command again.
- At C:\AddHosts.ps1:357 char:31
- + $null = New-FloppyDrive -VM <<<< $MyVM -FloppyImagePath "[Build]
- /Automate/BootFloppies/vmscsi-1.2.0.4.flp" -StartConnected
- + CategoryInfo : InvalidData: (:) [New-FloppyDrive], ParameterBin
- dingValidationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
- ation.ViCore.Cmdlets.Commands.VirtualDevice.NewFloppyDrive
- You cannot call a method on a null-valued expression.
- At C:\AddHosts.ps1:368 char:35
- + $null = $viewVM.ReconfigVM_Task <<<< ($spec)
- + CategoryInfo : InvalidOperation: (ReconfigVM_Task:String) [], R
- untimeException
- + FullyQualifiedErrorId : InvokeMethodOnNull
- Start-VM : Cannot validate argument on parameter 'VM'. The argument is null or
- empty. Supply an argument that is not null or empty and then try the command ag
- ain.
- At C:\AddHosts.ps1:369 char:20
- + $Null = Start-VM <<<< $MyVM
- + CategoryInfo : InvalidData: (:) [Start-VM], ParameterBindingVal
- idationException
- + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
- ation.ViCore.Cmdlets.Commands.StartVM
- Configuration complete, press <Enter> to continue.:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement