Skip to Content
Windows Server 2016 Security, Certificates, and Remote Access Cookbook
book

Windows Server 2016 Security, Certificates, and Remote Access Cookbook

by Jordan Krause
April 2018
Intermediate to advanced content levelIntermediate to advanced
138 pages
3h 55m
English
Packt Publishing
Content preview from Windows Server 2016 Security, Certificates, and Remote Access Cookbook

How to do it...

Follow these steps to rename and domain join this new server with PowerShell:

  1. Right-click on your PowerShell icon on the Taskbar and choose Run as Administrator:
  1. In order to rename our new server WEB2, input the following command. Using the -Restart flag will ensure that our server reboots following the name change:
       Rename-Computer -NewName WEB2 -Restart
  1. That's it for renaming! Now that our WEB2 server has rebooted, open PowerShell again and use the Add-Computer command in order to join it to our domain:
 Add-Computer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Access Control, Authentication, and Public Key Infrastructure

Access Control, Authentication, and Public Key Infrastructure

Bill Ballad, Tricia Ballad, Erin Banks

Publisher Resources

ISBN: 9781789137675Other