Solved

compare servers with Powershell

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

13 Experts available now in Live!

Get 1:1 Help Now