Solved

compare servers with Powershell

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Hi all.   The other day I had to change the passwords for a bunch of users on the fly. Because they were so many, I decided to do it in an automated way and I would like to share it with you all.   If you are not doing it directly in a Domain Co…
A brief introduction to what I consider to be the best editor for PowerShell.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now