Skip to content

Sysprep issues..... #1

@sejohlun

Description

@sejohlun

`Using Domain User ourdomainname\domainuser for Windows Domain Management
Get-ADDomain : Cannot validate argument on parameter 'Identity'. The argument is null. Provide a valid value for the argument, an
d then try running the command again.
At C:\vDeploy-master\vDeploy.PS1:2326 char:26

  • $ADDOMAIN = Get-ADDomain $STRINGDOMAIN -Credential $MYDOMAINCREDENTIA ...
  •                      ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-ADDomain], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.ActiveDirectory.Management.Commands.GetADDomain`

`Get-ADDomain : Cannot validate argument on parameter 'Identity'. The argument is null. Provide a valid value for the argument, an
d then try running the command again.
At C:\vDeploy-master\vDeploy.PS1:3061 char:26

  • $ADDOMAIN = Get-ADDomain $STRINGDOMAIN -Credential $MYDOMAINCREDENTIA ...
  •                      ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-ADDomain], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.ActiveDirectory.Management.Commands.GetADDomain

Creating AD Computer Object for VMDEPLOY4.
System.Management.Automation.PSCredential
New-ADComputer : The object name has bad syntax
At C:\vDeploy-master\vDeploy.PS1:3068 char:1

  • New-ADComputer -Name $VMNAME -Credential $MYDOMAINCREDENTIAL -Server ...
  •   + CategoryInfo          : NotSpecified: (CN=VMDEPLOY4,ou=Build,ou=Server_OU,:String) [New-ADComputer], ADException
      + FullyQualifiedErrorId : ActiveDirectoryServer:8335,Microsoft.ActiveDirectory.Management.Commands.NewADComputer
    
    
    

2020-09-09T07:56:19.9141513+02:00 Waiting for VM named: VMDEPLOY4 to match guest named: VMDEPLOY4.ourdomainname.com
Something went wrong the SysPrep Process Stopping all processes
Powering Off VM
Deleting VM
Stop Transcript
VM Build Process Failed. SysPrep did not complete. Please Reattempt Build Process
Stop Script Called`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions