Start a discussion

33 views
6 replies
Solved

can't get past section 4 item 17

I believe this is the ps command to join the new server into the current domain. Here's the error msg I'm receiving

 

Install-ADDSDomainController : Cannot convert 'System.String' to the type
'System.Management.Automation.SwitchParameter' required by parameter 'Confirm'.
At line:3 char:317
+ ... indows\SYSVOL" -credential $cred -Force:$true -Confirm:Sfalse -SafeMo ...
+                                                            ~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Install-ADDSDomainController], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.DirectoryServices.Deployment.PowerShell.Commands.Install
   ADDSDomainControllerCommand

 

I've checked all previous steps and complete as recorded. Also have used the standard administrator user as well as own created 'admin' user with proper permissions and creds.

Please advise.

Thanks

Jeff Adzima Jeff Adzima
Published 09/27/2024 01:52
Add Comment
Mariette Knap

Can you post the whole error and the command you are running?

replied 09/27/2024 04:50
Jeff Adzima

Here's the excerpt from the migration guide(the instructions to copy/paste using ctrl insert and ctrl V don't work on my mac :( ):

Here's a screenshot from the guide:

OK I guess I can't paste a screenshot either, so I'll add the file at the bottom as a jpg.

 

BTW - the initial post I sent was the whole error I received.

 

Attached Files
replied 09/27/2024 17:07
Mariette Knap

Can we do a Teams meeting so I can have a look?

replied 09/27/2024 17:20
Jeff Adzima

Yes - I know you're in EU, when is a good time for you? I'm in US-California, my time right now is 12:52P. I'll be at a jobsite from 1:30-2:30P

Thanks

replied 09/27/2024 19:53
Mariette Knap

I will contact you through email.

replied 09/28/2024 05:10
Mariette Knap

We removed -Confirm:Sfalse from the command and it ran. Not sure if this is a 2022 issue.

replied 09/29/2024 18:04
Last Activity 09/29/2024 18:04