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

Re: VM Deployment with customization, parallel

$
0
0

If i remove the fields in the csv for username, password, and adminpassword and rely on the input lines to trap the $pass $username and $adminpass it doesn't work at all

 

Set-OSCustomizationSpec : Cannot validate argument on parameter 'AdminPassword'

. The argument is null or empty. Supply an argument that is not null or empty a

nd then try the command again.

At C:\scripts\clonecustom.ps1:71 char:56

+    Set-OSCustomizationSpec -spec $vmname -AdminPassword <<<<  $adminpass -Dom

ainUsername $username -DomainPassword $pass -Confirm:$false

    + CategoryInfo          : InvalidData: (:) [Set-OSCustomizationSpec], Para

   meterBindingValidationException

    + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom

   ation.ViCore.Cmdlets.Commands.SetCustomizationSpec


Viewing all articles
Browse latest Browse all 168400

Trending Articles



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