24/7/365 Support

Program: Summarize System Information in Windows PowerShell

WMI provides an immense amount of information about the current system or remote systems. In fact, the msinfo32.exe application traditionally used to gather system information is based largely on WMI.

The script shown in Example 246 summarizes the most common information, but WMI provides a great deal more than that.

Example 246. GetDetailedSystemInformation.ps1

############################################################################## ## ## GetDetailedSystemInformation.ps1 ## ## Get detailed information about a system. ## ## ie: ## ## PS >GetDetailedSystemInformation LEEDESK > output.txt ## ##############################################################################

param( $computer = "." )

"#"*80 "System Information Summary" "Generated $(GetDate)" "#"*80 "" ""

"#"*80 "Computer System Information" "#"*80 GetWmiObject Win32_ComputerSystem Computer $computer | FormatList *

"#"*80 "Operating System Information" "#"*80 GetWmiObject Win32_OperatingSystem Computer $computer | FormatList *

"#"*80 "BIOS Information" "#"*80 GetWmiObject Win32_Bios Computer $computer | FormatList *

Example 246. GetDetailedSystemInformation.ps1 (continued)

"#"*80 "Memory Information" "#"*80 GetWmiObject Win32_PhysicalMemory Computer $computer | FormatList *

"#"*80 "Physical Disk Information" "#"*80 GetWmiObject Win32_DiskDrive Computer $computer | FormatList *

"#"*80 "Logical Disk Information" "#"*80 GetWmiObject Win32_LogicalDisk Computer $computer | FormatList *

Help Category:

Get Windows Dedicated Server

Only reading will not help you, you have to practice it! So get it now.

Processor RAM Storage Server Detail
Intel Atom C2350 1.7 GHz 2c/2t 4 GB DDR3 1× 1 TB (HDD SATA) Configure Server
Intel Atom C2350 1.7 GHz 2c/2t 4 GB DDR3 1× 128 GB (SSD SATA) Configure Server
Intel Atom C2750 2.4 GHz 8c/8t 8 GB DDR3 1× 1 TB (HDD SATA) Configure Server
Intel Xeon E3-1230 v2 3.3 GHz 4c/8t 16 GB DDR3 1× 256 GB (SSD SATA) Configure Server
Intel Atom C2350 1.7 GHz 2c/2t 4 GB DDR3 1× 250 GB (SSD SATA) Configure Server

What Our Clients Say