2/20/2009

Ps Tools - Sysinternals - System Information

I'm a fun of sysinternals and use this tools fast daily, they make my work not only easier, also greater, faster. I recommend all of you the usage.

Download them at: http://technet.microsoft.com/en-us/sysinternals/default.aspx

copy the executables y the %windows&\system32\ folder and make sure you have administrative rights in the remote PCs, of course in your own PC.

Let's see the first of them in the category System Information: psinfo

just type psinfo and you'll get all system information from the PC
C:\>psinfo

PsInfo v1.75 - Local and remote system information viewer
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com

System information for \\PC01:
Uptime: 2 days 0 hours 4 minutes 20 seconds
Kernel version: Microsoft Windows XP, Multiprocessor Free
Product type: Professional
Product version: 5.1
Service pack: 2
Kernel build number: 2600
Registered organization: CORP S.A.
Registered owner: CORP S.A.
Install date: 07-Oct-2008, 1:32:55 PM
Activation status: Error reading status
IE version: 6.0000
System root: C:\WINDOWS
Processors: 2
Processor speed: 2.9 GHz
Processor type: Intel(R) Core(TM)2 Duo CPU E8400 @
Physical memory: 2002 MB
Video driver: Intel(R) Q35 Express Chipset Family

You can get the same info for a rmeote PC with:
c:\>psinfo \\PC02

Check if the deployed hotfixes were installed on remote PCs on the fly and the install date(and the uptime):

C:\>psinfo \\PC02 -h


PsInfo v1.75 - Local and remote system information viewer
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com

System information for \\PC02:
Uptime: 2 days 8 hours 19 minutes 57 seconds
Kernel version: Microsoft Windows XP, Multiprocessor Free
Product type: Professional
Product version: 5.1
Service pack: 2
Kernel build number: 2600
Registered organization: CORP S.A.
Registered owner: CORP S.A.
Install date: 22-Jan-2009, 10:07:45 AM
Activation status: Error reading status
IE version: 6.0000
System root: C:\WINDOWS
Processors: 2
Processor speed: 2.9 GHz
Processor type: Intel(R) Core(TM)2 Duo CPU E8400 @
Physical memory: 2002 MB
Video driver: Intel(R) Q35 Express Chipset Family

Installed HotFix
22-Jan-2009 Windows XP Hotfix - KB885222
05-Feb-2009 Windows XP Hotfix - KB886185
22-Jan-2009 Windows Installer 3.1 (KB893803)
05-Feb-2009 Update for Windows XP (KB894391)
22-Jan-2009 Security Update for Windows XP (KB896358)
18-Nov-2008 Update for Windows XP (KB898461)
05-Feb-2009 Update for Windows XP (KB900485)


Sometimes you don't have an inventory tool, like Microsoft SMS or other native tools can not check for non Microsoft software on remote PCs like MSIA(MS-Inventory Analizer). Sometimes you want results now, on the fly and against many remote PCs. Let's see what we can do. Run this script against a remote PC or Server and make and audit on the fly.
C:\>psinfo -s \\PC02 | find "Tuning Car Studio"

PsInfo v1.75 - Local and remote system information viewer
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
Tuning Car Studio

Great you become in one line the searched software.
Do the same against your domain, and you are done:
c:\>psinfo -s "\\*">c:\TuningStudioOutput.txt | find "Tuning Car Studio"

No comments: