# figure out where to put it $x = Get-ADComputer -Filter * -Server itdk12dc7.k12.nd.us -Credential $K12Cred -Properties CanonicalName # enter this on the machine itself $Credential = Get-Credential $AddComputerParams = @{ DomainName = 'k12.nd.us'; OUPath = 'OU=Prod,OU=All-General,OU=Computers,OU=ITD,DC=k12,DC=nd,DC=us' ; Credential = $Credential; } Add-Computer @AddComputerParams