Solved

compare servers with Powershell

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Synchronize a new Active Directory domain with an existing Office 365 tenant
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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