Solved

compare servers with Powershell

Posted on 2011-09-12
1
394 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

This article will help you understand what HashTables are and how to use them in PowerShell.
A procedure for exporting installed hotfix details of remote computers using powershell
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

789 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