SHARE
TWEET

Untitled

a guest Jul 16th, 2014 318 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Loading PowerCLI plugin, this may take a little while.
  2. Building Primary Site
  3.  
  4. Determining automate.ini settings.
  5.  Datastores will be built and added to vCenter.
  6.   Windows 2003 VM for Lab will be created.
  7.  Windows XP VM for VMware View Lab to be built.
  8. Connect to vCenter; this takes a while and may show a warning in yellow
  9. WARNING: There were one or more problems with the server certificate:
  10.  
  11. * The X509 chain could not be built up to the root certificate.
  12.  
  13. Create datacenter and cluster
  14. host1.lab.local
  15. host2.lab.local
  16. Restarting all hosts for consistency. This will take a few minutes.
  17. All hosts are connected.
  18. Creating iSCSI datastores.
  19.  Registering all VMs found on existing datastore iSCSI1.
  20.  Registering all VMs found on existing datastore iSCSI2.
  21.  Register all VMs found on existing datastore iSCSI3
  22. Setting up HA on cluster since shared storage is configured.
  23. Waiting two minutes for HA to complete configuration.
  24. Creating WinTemplate VM Windows Server 2003.
  25. Found ESXi version (Get-vmhost)[0].version
  26. New-VM : Cannot bind parameter 'Version'. Cannot convert value "v9" to type "VM
  27. ware.VimAutomation.ViCore.Types.V1.VM.VMVersion" due to invalid enumeration val
  28. ues. Specify one of the following enumeration values and try again. The possibl
  29. e enumeration values are "Unknown, v4, v7, v8".
  30. At C:\AddHosts.ps1:324 char:172
  31. +                 $MyVM = New-VM -Name $VMName -VMhost $vmHost -datastore $Data
  32. store -NumCPU 1 -MemoryMB 384 -DiskMB 3072 -DiskStorageFormat Thin -GuestID win
  33. NetEnterpriseGuest -Version <<<<  "v9"
  34.     + CategoryInfo          : InvalidArgument: (:) [New-VM], ParameterBindingE
  35.    xception
  36.     + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,VMware.VimAutomat
  37.    ion.ViCore.Cmdlets.Commands.NewVM
  38.  
  39. New-CDDrive : Cannot validate argument on parameter 'VM'. The argument is null.
  40.  Supply a non-null argument and try the command again.
  41. At C:\AddHosts.ps1:326 char:27
  42. +             $null = New-CDDrive -VM <<<<  $MyVM -ISOPath "[Build] /Auto2K3.is
  43. o" -StartConnected
  44.     + CategoryInfo          : InvalidData: (:) [New-CDDrive], ParameterBinding
  45.    ValidationException
  46.     + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
  47.    ation.ViCore.Cmdlets.Commands.VirtualDevice.NewCDDrive
  48.  
  49. Powering on VM and installing Windows.
  50. Start-VM : Cannot validate argument on parameter 'VM'. The argument is null or
  51. empty. Supply an argument that is not null or empty and then try the command ag
  52. ain.
  53. At C:\AddHosts.ps1:328 char:20
  54. +             $null = Start-VM <<<<  $MyVM
  55.     + CategoryInfo          : InvalidData: (:) [Start-VM], ParameterBindingVal
  56.    idationException
  57.     + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
  58.    ation.ViCore.Cmdlets.Commands.StartVM
  59.  
  60. Creating Windows XP VM for View.
  61. New-VM : Cannot bind parameter 'Version'. Cannot convert value "v9" to type "VM
  62. ware.VimAutomation.ViCore.Types.V1.VM.VMVersion" due to invalid enumeration val
  63. ues. Specify one of the following enumeration values and try again. The possibl
  64. e enumeration values are "Unknown, v4, v7, v8".
  65. At C:\AddHosts.ps1:354 char:127
  66. +                 $MyVM = New-VM -Name $VMName -VMhost $vmHost -datastore $Data
  67. store -NumCPU 1 -MemoryMB 384 -GuestID winXPProGuest -Version <<<<  "v9"
  68.     + CategoryInfo          : InvalidArgument: (:) [New-VM], ParameterBindingE
  69.    xception
  70.     + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,VMware.VimAutomat
  71.    ion.ViCore.Cmdlets.Commands.NewVM
  72.  
  73. New-CDDrive : Cannot validate argument on parameter 'VM'. The argument is null.
  74.  Supply a non-null argument and try the command again.
  75. At C:\AddHosts.ps1:356 char:27
  76. +             $null = New-CDDrive -VM <<<<  $MyVM -ISOPath "[Build] /AutoXP.iso
  77. " -StartConnected
  78.     + CategoryInfo          : InvalidData: (:) [New-CDDrive], ParameterBinding
  79.    ValidationException
  80.     + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
  81.    ation.ViCore.Cmdlets.Commands.VirtualDevice.NewCDDrive
  82.  
  83. New-FloppyDrive : Cannot validate argument on parameter 'VM'. The argument is n
  84. ull. Supply a non-null argument and try the command again.
  85. At C:\AddHosts.ps1:357 char:31
  86. +             $null = New-FloppyDrive -VM <<<<  $MyVM -FloppyImagePath "[Build]
  87.  /Automate/BootFloppies/vmscsi-1.2.0.4.flp" -StartConnected
  88.     + CategoryInfo          : InvalidData: (:) [New-FloppyDrive], ParameterBin
  89.    dingValidationException
  90.     + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
  91.    ation.ViCore.Cmdlets.Commands.VirtualDevice.NewFloppyDrive
  92.  
  93. You cannot call a method on a null-valued expression.
  94. At C:\AddHosts.ps1:368 char:35
  95. +             $null = $viewVM.ReconfigVM_Task <<<< ($spec)
  96.     + CategoryInfo          : InvalidOperation: (ReconfigVM_Task:String) [], R
  97.    untimeException
  98.     + FullyQualifiedErrorId : InvokeMethodOnNull
  99.  
  100. Start-VM : Cannot validate argument on parameter 'VM'. The argument is null or
  101. empty. Supply an argument that is not null or empty and then try the command ag
  102. ain.
  103. At C:\AddHosts.ps1:369 char:20
  104. +             $Null = Start-VM <<<<  $MyVM
  105.     + CategoryInfo          : InvalidData: (:) [Start-VM], ParameterBindingVal
  106.    idationException
  107.     + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
  108.    ation.ViCore.Cmdlets.Commands.StartVM
  109.  
  110.  
  111.  Configuration complete, press <Enter> to continue.:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top