Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sysprep issues..... #1

Open
sejohlun opened this issue Sep 9, 2020 · 0 comments
Open

Sysprep issues..... #1

sejohlun opened this issue Sep 9, 2020 · 0 comments

Comments

@sejohlun
Copy link

sejohlun commented Sep 9, 2020

`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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant