- Join the domain (prompt for user name and password of domain administrator):
Add-Computer -DomainName {Domain Name}
- Add a domain user as an administrator:
net localgroup administrators {Domain Name}\{User Name} /add
- Name the computer:
Rename-Computer {New Name}
- Enable PowerShell remoting (note: no double hops):
Enable-PSRemoting
- Restart the computer:
Restart-Computer
Tuesday, November 6, 2012
Configuring a new Windows Server 2012 instance using PowerShell
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment