Powershell Windows

Joining a domain using Powershell

In its simplest form :

PS C:\> add-computer -domainname contoso

to see all the possible options use

PS C:\>help add-computer