文档介绍:19/12/2010 Three PowerShell queries to obtain crit…
TechRepublic : A munity
Three PowerShell queries to obtain
critical system information
Date : July 16th, 2010
Author : Rick Vanover
Category : PowerShell
Tags: Microsoft Windows PowerShell, USB, Microsoft Windows, Productivity, Processors,
Servers, Operating Systems, Software, Semiconductors, Hardware
When es to getting information about Windows clients and servers, administrators are
sometimes left in the dark. These simple scripts will help you gather inct info about a
computing environment.
There is nothing worse than being given a system requirement and not knowing whether it can
be applied to a number of systems. There are countless examples, such as free space on local
computers or what levels of JAVA or .NET framework are installed. Sometimes, we may be
given more difficult requirements that we may or may not be able to easily determine.
Here are three scripts you can use to get detailed information for specific questions about
Windows clients and servers. The scripts are based on PowerShell 2, which can be applied to
Windows XP and higher on the client side as well as on Windows Server 2003 and higher on the
server editions. For PowerShell 2, it is mended that you install the Windows PowerShell
PowerPack.
Note: This article is also available as a PDF download.
#1: Determine primary screen resolut