Skip to main content

Add Multiple Servers to Windows 2012 Server Manager

The new Server Manager has expanded our ability to manage multiple servers at the same time.  In the 2008 Server Manager, we could connect to another server and manage it, but then we had to connect to another server to manage a different one.  In the process, we lose our connection to the other servers.

Windows 2012 allows us to manage multiple servers at the same time.  To do this, you need to tell Server Manager which servers that you want to manage. 

Open Server Manager.

Right click All Servers and click Add Servers.

image

 

Notice the three tabs on the of the Add Servers window.  We have three methods of adding domain joined servers to

image

Add servers via Active Directory

The first method is to use Active Directory. You can filter the servers/clients that are returned to you for selection based on their operating system.  By default, all operating systems from Windows XP on up will be presented to you if they match your Name(CN): pattern.

image

Provide the full, or a partial name for the servers you want to add to Server Manager. Select the servers that you want, and click the arrow button.  You will see the servers populate in the Selected pane.

image

If you made a mistake, right click the server in the Selected pane to be removed and click Remove.

image

Your servers will now appear in Server Manager.

image

 

Add servers via DNS

You can also add server by DNS. In this case, you need to know the full name of the server, or its IP address.

Click the Search icon.

Select your server and click the arrow button.

Click OK.

image

Add servers via Import

For an import to work, you need a text file that contains the DNS names or the IP addresses of the servers that you want to add to Server Manager.  One way to create that list is with PowerShell.  With PowerShell you can create a set of criteria in which to query each potential candidate to determine if that server should be added to your text file. Using PowerShell you can create much more powerful searches that with the Active Directory or DNS methods. This is just a short example of how to generate a list of servers (no clients) with a name that starts with “Indy”.

Open PowerShell on a Domain Controller or a client/server with the Active Directory module installed on it. Enter the command below and press Enter at the end of each line. Press Enter twice after entering all lines.

Get-ADComputer –Filter ‘OperatingSystem –like “*server*”’ |

Select-Object –Property Name |

Format-Table –HideTableHeaders |

OutFile “ServerNames.txt”

 

Once that text file is create go back to Server Manager.

This time select the Import tab.

Click the […] button and browse to and select your text file.

Select the servers that you want can click the arrow button.

Click OK.

image

Comments

Popular posts from this blog

Adding a Comment to a GPO with PowerShell

As I'm writing this article, I'm also writing a customization for a PowerShell course I'm teaching next week in Phoenix.  This customization deals with Group Policy and PowerShell.  For those of you who attend my classes may already know this, but I sit their and try to ask the questions to myself that others may ask as I present the material.  I finished up my customization a few hours ago and then I realized that I did not add in how to put a comment on a GPO.  This is a feature that many Group Policy Administrators may not be aware of. This past summer I attended a presentation at TechEd on Group Policy.  One organization in the crowd had over 5,000 Group Policies.  In an environment like that, the comment section can be priceless.  I always like to write in the comment section why I created the policy so I know its purpose next week after I've completed 50 other tasks and can't remember what I did 5 minutes ago. In the Group Policy module for PowerShell V3, th

Return duplicate values from a collection with PowerShell

If you have a collection of objects and you want to remove any duplicate items, it is fairly simple. # Create a collection with duplicate values $Set1 = 1 , 1 , 2 , 2 , 3 , 4 , 5 , 6 , 7 , 1 , 2   # Remove the duplicate values. $Set1 | Select-Object -Unique 1 2 3 4 5 6 7 What if you want only the duplicate values and nothing else? # Create a collection with duplicate values $Set1 = 1 , 1 , 2 , 2 , 3 , 4 , 5 , 6 , 7 , 1 , 2   #Create a second collection with duplicate values removed. $Set2 = $Set1 | Select-Object -Unique   # Return only the duplicate values. ( Compare-Object -ReferenceObject $Set2 -DifferenceObject $Set1 ) . InputObject | Select-Object – Unique 1 2 This works with objects as well as numbers.  The first command creates a collection with 2 duplicates of both 1 and 2.   The second command creates another collection with the duplicates filtered out.  The Compare-Object cmdlet will first find items that are diffe

How to list all the AD LDS instances on a server

AD LDS allows you to provide directory services to applications that are free of the confines of Active Directory.  To list all the AD LDS instances on a server, follow this procedure: Log into the server in question Open a command prompt. Type dsdbutil and press Enter Type List Instances and press Enter . You will receive a list of the instance name, both the LDAP and SSL port numbers, the location of the database, and its status.