462 B
462 B
Domain Join Helper (Batch)
Batch script to configure DNS (optional), relax PowerShell execution policy for the session, and join a Windows machine to an AD domain using netdom.
📂 Files
JoinDomain.cmd— main batch scriptSetDNS.ps1— optional DNS configuration helper (called by the batch)
⚙️ What it does
- Executes
SetDNS.ps1(optional) to force lab DNS. - Calls
netdom JOINto add the computer to the domain.