I want to create computer objects without accessing the ARS console

I tried with the below code but it gives error.

powershell.exe -command New-QADComputer -Name <Name of the new computer> -ParentContainer "<OU-Copied the distinguishedName of an earlier computer object from the AD>" -ObjectAttributes @{edsajoincomputertodomain='domain\userID'}