Sunday, November 18, 2012

0 Hardware discovery

As IT professional, we need to know our spec for our server and what they can do. Ideally, have the inventory store. We also need to monitor it in case there is any unexpected changes.

Here are some tools can help us to gather those information.

  • MSINFO32
  • Srvinfo.exe
  • psinfo.exe
  • SIW
  • CPU-Z
  • SIV
  • System Spec
  • HWInfo
  • PowerShell

MSINFO32

Build in tool from Microsoft. Come with OS.

image

SRVINFO

Part of the Windows resource kit. I particular like this tool because it is command line and can run against remote host. I use to use Perl to parse the output to gather the information I need.

image

PSinfo

Part of sysinternal command.

image

SIW ( System Information for Windows)

image

CPU-Z

image

SIV

image

System Spec

image

HWINFO

image

PowerShell

$name= $ENV:Computername
# Processor  
Get-WmiObject Win32_Processor -ComputerName $name  | Select Name,Manufacturer,Caption,DeviceID,CurrentClockSpeed,CurrentVoltage,DataWidth,L2CacheSize,L3CacheSize,NumberOfCores,NumberOfLogicalProcessors,Status 
# Memory 
Get-WmiObject Win32_PhysicalMemory -ComputerName $name  | select BankLabel,DeviceLocator,Capacity,Manufacturer,PartNumber,SerialNumber,Speed
# Mother Board: Win32_BaseBoard
Get-WmiObject -ComputerName $name  Win32_BaseBoard  |  Select Name,Manufacturer,Product,SerialNumber,Status 
# BIOS 
Get-WmiObject win32_bios -ComputerName $name  | Select Manufacturer,Name,BIOSVersion,ListOfLanguages,PrimaryBIOS,ReleaseDate,SMBIOSBIOSVersion,SMBIOSMajorVersion,SMBIOSMinorVersion 
# CD ROM Drive 
Get-WmiObject Win32_CDROMDrive -ComputerName $name  |  select Name,Drive,MediaLoaded,MediaType,MfrAssignedRevisionLevel  
# System Info 
Get-WmiObject Win32_ComputerSystemProduct -ComputerName $name  | Select Vendor,Version,Name,IdentifyingNumber,UUID  
# Hard-Disk 
Get-WmiObject win32_diskDrive -ComputerName $name  | select Model,SerialNumber,InterfaceType,Size,Partitions  
# NetWord Adapters -ComputerName $name 
Get-WmiObject win32_networkadapter -ComputerName $name  | Select Name,Manufacturer,Description ,AdapterType,Speed,MACAddress,NetConnectionID 
image

0 comments:

Post a Comment

 

SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates