Join the local computer to the domain without prompting using a specific account and reboot once finished.
Add-Computer -DomainName testdom.local -NewName Server22 -Credential testdom\administrator -Restart -Force
Advertisements
Join the local computer to the domain without prompting using a specific account and reboot once finished.
Add-Computer -DomainName testdom.local -NewName Server22 -Credential testdom\administrator -Restart -Force