Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230663

Re: How to script deploying from template or making Clones

$
0
0

I run script, VMs created but parameters not set.

I have following errors:

 

New-OSCustomizationSpec : 8/6/2013 5:32:58 AM    New-OSCustomizationSpec

There is already a customization spec with the same name.

At C:\scripts\8.ps1:8 char:78

+ $oscust = Get-OSCustomizationSpec -Name $oscustName | New-OSCustomizationSpec

<<<<  -Type NonPersistent

    + CategoryInfo          : InvalidArgument: (:) [New-OSCustomizationSpec],

   InvalidArgument

    + FullyQualifiedErrorId : Client20_VmHostServiceImpl_NewCustomizationSpec_

   DuplicateCustomizationSpecClient,VMware.VimAutomation.ViCore.Cmdlets.Comma

  nds.NewCustomizationSpec

 

 

New-OSCustomizationSpec : 8/6/2013 5:32:58 AM    New-OSCustomizationSpec

There is already a customization spec with the same name.

At C:\scripts\8.ps1:8 char:78

+ $oscust = Get-OSCustomizationSpec -Name $oscustName | New-OSCustomizationSpec

<<<<  -Type NonPersistent

    + CategoryInfo          : InvalidArgument: (:) [New-OSCustomizationSpec],

   InvalidArgument

    + FullyQualifiedErrorId : Client20_VmHostServiceImpl_NewCustomizationSpec_

   DuplicateCustomizationSpecClient,VMware.VimAutomation.ViCore.Cmdlets.Comma

  nds.NewCustomizationSpec

 

 

Get-OSCustomizationNicMapping : 8/6/2013 5:32:59 AM    Get-OSCustomizationNicMa

pping        Value cannot be found for the mandatory parameter OSCustomizationS

pec

At C:\scripts\8.ps1:33 char:32

+   Get-OSCustomizationNicMapping <<<<  -OSCustomizationSpec $oscust |

    + CategoryInfo          : NotSpecified: (:) [Get-OSCustomizationNicMapping

   ], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomatio

   n.ViCore.Cmdlets.Commands.GetOSCustomizationNicMapping

 

 

Get-OSCustomizationNicMapping : 8/6/2013 5:32:59 AM    Get-OSCustomizationNicMa

pping        Value cannot be found for the mandatory parameter OSCustomizationS

pec

At C:\scripts\8.ps1:42 char:32

+   Get-OSCustomizationNicMapping <<<<  -OSCustomizationSpec $oscust |

    + CategoryInfo          : NotSpecified: (:) [Get-OSCustomizationNicMapping

   ], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomatio

   n.ViCore.Cmdlets.Commands.GetOSCustomizationNicMapping


Viewing all articles
Browse latest Browse all 230663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>