Solved

compare servers with Powershell

Posted on 2011-09-12
1
395 Views
Last Modified: 2012-05-12
I have a group of servers that should be identical.

However 2 of 15 of these servers have a consitant problem, hanging so bad that they have to be reset.
Is there a way programically that I can compare a known good server to a server that hangs.  

I would like to compare, drivers, software, patches, everything I can.

Now I am fully aware that this could be a hardware problem, but I have to 'prove' its not something with the OS first.
0
Comment
Question by:brittonv
1 Comment
 
LVL 12

Accepted Solution

by:
FDiskWizard earned 500 total points
ID: 36523101
What is running on the server?

You're probably going to a lot of trouble to COMPARE.
I would look at app logs, etc... first. Any errors in the logs?

Run perfmon for a while, maybe on both servers to see if memory, disk queue, connections, etc is getting hit hard on the troublesome server.

Here is a link for a script to pull WMI info from multiple servers in servers.txt
http://www.simple-talk.com/sql/database-administration/let-powershell-do-an-inventory-of-your-servers/
There is a link at the top-right to download the full code listing. The code is discussed thoroughly in the article.


0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question