How to add a computer or server to an Active Directory Domain using PowerShell

preview_player
Показать описание
Learn how to add a server or a workstation to a local active directory domain using PowerShell. In this example, I show you how to use the Add-Computer PowerShell command to connect a server or workstation to a local active directory domain.

Commands used:

Rename-Computer -NewName SERVER2022

Рекомендации по теме
Комментарии
Автор

Lord have Mercy. Danny your the MVP. Thanks bro. Do you have a complete course on PowerShell?

vitaminlbj
Автор

Please how do I join/authenticate a PC that is outside the SERVER 2022 DC network? Like a PC over the internet. Thanks

chucksezra
Автор

can you also do this by writing a .ps1 file

godofwinetits