sysadmin:windows:tips_and_tricks:server_management

Windows Server Management Tips & Tricks

Run this command after Rename-Computer so you only have to restart the computer once.

Add-Computer -Domain DOMAIN_NAME -Credential DOMAIN_ADMIN

Where:

  • DOMAIN_NAME is the name of the domain to join; and,
  • DOMAIN_ADMIN is a domain administrator user account
Rename-Computer -NewName NEW_HOSTNAME

Where:

  • NEW_HOSTNAME is the new desired computer name

Optional:

  • Provide the -Credential flag to pass admin privileges if not admin.
  • sysadmin/windows/tips_and_tricks/server_management.txt
  • Last modified: 2019/12/17 16:32
  • by mjorgensen