June 2017
Beginner to intermediate
742 pages
18h 29m
English
When a desktop computer or member server is joined to a domain, it will create a computer object in Active Directory.
This computer object can be created before being added to the domain. This will not add the device to the domain, but it can be used with offline domain joins and RODC domain joins.
In order to create a computer object, we can use the New-ADComputer cmdlet. To view the complete syntax of the command, use this:
Get-Command New-ADComputer -Syntax
The minimum attribute you need to define in order to create a computer object is -Name:
New-ADComputer -Name "REBEL-PC-01" -SamAccountName "REBEL-PC-01" -Path "OU=Computers,OU=Europe,DC=rebeladmin,DC=com"
In the preceding example, the command will create ...
Read now
Unlock full access