In its simplest form :
PS C:\> add-computer -domainname contoso
to see all the possible options use
PS C:\>help add-computer
In its simplest form :
PS C:\> add-computer -domainname contoso
to see all the possible options use
PS C:\>help add-computer