{"id":724,"date":"2026-08-15T03:43:36","date_gmt":"2026-08-15T03:43:36","guid":{"rendered":"https:\/\/poznayu.com\/en\/?p=724"},"modified":"2026-08-15T03:43:47","modified_gmt":"2026-08-15T03:43:47","slug":"powershell-hardware-inventory-pc-specs-details","status":"publish","type":"post","link":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/","title":{"rendered":"PowerShell Hardware Inventory: PC Specs &#038; Details"},"content":{"rendered":"<div style='text-align:right' class='yasr-auto-insert-visitor'><\/div><p class=\"isSelectedEnd\"><span>Getting accurate information about a computer or laptop\u2019s hardware through <\/span><strong><span>PowerShell<\/span><\/strong><span> makes it easy to identify serial numbers, models, and component specifications without installing third-party software.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Using built-in operating system cmdlets provides reliable data for hardware inventory, warranty checks, or upgrade planning. In this guide, I cover the key CIM classes that can extract detailed technical information from each component of your system without lengthy manual searches.<\/span><\/p>\n<ul data-spread=\"false\">\n<li><span>Related material: <\/span><a href=\"https:\/\/poznayu.com\/en\/windows-network-diagnostics-with-cmd-and-powershell\/\" title=\"Windows Network Diagnostics with CMD and PowerShell\" target=\"_blank\" rel=\"noopener\"><span>Windows Network Diagnostics: CMD and PowerShell<\/span><\/a><\/li>\n<\/ul>\n<p class=\"isSelectedEnd\"><span>PowerShell is a powerful Microsoft command shell and scripting language for automating tasks and managing systems. The easiest way to find it is through the Start menu search (press the Win key) and simply type \u201cPowerShell.\u201d<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>If it is not installed (which is unlikely) or you are using an older version, you can get the x64 version from the official website:<\/span><\/p>\n<ul data-spread=\"false\">\n<li><span>Section &#8220;MSI package installation&#8221;: https:\/\/learn.microsoft.com\/ru-ru\/powershell\/scripting\/install\/install-powershell-on-windows?view=powershell-7.6#msi<\/span><\/li>\n<\/ul>\n<h2><span>Basic System Information (Model, BIOS, and Motherboard)<\/span><\/h2>\n<p class=\"isSelectedEnd\"><span>The motherboard is the foundation of any computing system, while core platform information is stored in the BIOS.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Knowing the exact device model and serial number is essential when contacting the manufacturer\u2019s technical support or looking for compatible drivers. This is especially important in corporate environments, where hardware is tracked using unique device identifiers.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>PowerShell provides the Win32_ComputerSystem class for a general overview of the platform and Win32_BIOS for targeted BIOS information. These classes access the Windows management interface directly and retrieve physical parameters recorded by the manufacturer. On laptops and branded workstations, this is also where the service tag required by vendors is typically stored.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>When working with desktop motherboards, manufacturers often do not expose the board revision clearly, but it can be retrieved through Win32_BaseBoard. The following basic commands provide the foundation for a hardware audit.<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_ComputerSystem | Select-Object Manufacturer, Model, SystemType<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This command retrieves the manufacturer, specific PC or laptop model, and platform architecture. The output immediately helps classify the device and identify its basic hardware family.<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_BIOS | Select-Object Manufacturer, SMBIOSBIOSVersion, SerialNumber<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This query reads data directly from the BIOS, displaying the installed firmware version and the device\u2019s unique serial number. The serial number is required to check the current warranty status on the manufacturer\u2019s official website.<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_BaseBoard | Format-List Manufacturer, Product, SerialNumber, Version<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This displays the exact motherboard model (Part Number), hardware revision, and built-in serial number. List formatting makes long string values easier to read, which is especially useful with server motherboards.<\/span><\/p>\n<h2><span>Computing Performance Analysis (CPU and RAM)<\/span><\/h2>\n<p class=\"isSelectedEnd\"><span>System performance assessment starts with the central processor and memory subsystem.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>When planning a RAM upgrade, you need to know exactly how many slots are occupied, the modules\u2019 clock speed, and their manufacturer to avoid hardware conflicts. Collecting this information through the console eliminates the need to physically open the computer.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>For the CPU, the key metrics beyond the commercial model name include the number of physical cores, logical processors, and maximum clock speed. The Win32_Processor class provides a detailed CPU summary by querying the motherboard\u2019s management interface. In hybrid systems or multi-processor servers, the command returns separate data for each installed processor.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>System memory is queried through the Win32_PhysicalMemory class, allowing you to inspect every installed module individually. This is an effective way to identify the part number of a specific RAM module when purchasing an identical replacement and maintaining proper dual-channel operation.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>For example:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_Processor | Select-Object Name, NumberOfCores, NumberOfLogicalProcessors, MaxClockSpeed<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>The command returns the processor\u2019s full commercial name, the number of physical cores and logical threads, and the maximum clock speed. These technical metrics provide an objective view of the system\u2019s baseline computing capacity.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The result on my work laptop:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell_1.jpg\" class=\"aligncenter\" \/><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_PhysicalMemory | Select-Object Manufacturer, PartNumber, Capacity, Speed<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This queries each installed RAM module separately, showing its capacity in bytes, effective operating speed, and manufacturer part number. The query is especially useful when looking for a fully compatible memory module for a safe upgrade.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Result:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell_2.jpg\" class=\"aligncenter\" \/><\/p>\n<p class=\"isSelectedEnd\"><span>Beyond basic clock speed and core counts, the CPU exposes many low-level characteristics that can be important for specific workloads.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The Win32_Processor class contains detailed information about the chip\u2019s architecture, including different cache levels that directly affect processing large data sets. Extracting L2CacheSize and L3CacheSize can help assess whether a server is suitable for databases or demanding workloads where fast on-chip memory capacity can be important.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Another important aspect of hardware diagnostics is checking hardware virtualization support and identifying the physical processor socket on the motherboard.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The VirtualizationFirmwareEnabled property lets you remotely verify whether hypervisor support is enabled at the system firmware level, which is required for running containers and virtual machines. At the same time, SocketDesignation provides the exact socket designation (for example, LGA 1700 or AM5), eliminating the need to look up the current platform specifications before ordering another processor.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>For strict corporate inventory, tying expensive licenses to specific hardware, or investigating security incidents, a unique processor identifier can also be used. The ProcessorId property returns a hardware hash embedded by the manufacturer that remains unchanged throughout the device\u2019s service life.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>All of these extended metrics can be retrieved in a single targeted query:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_Processor | Select-Object Name, SocketDesignation, L2CacheSize, L3CacheSize, VirtualizationFirmwareEnabled, ProcessorId<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>RAM diagnostics also involve much more than simply identifying the installed capacity or effective speed.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The Win32_PhysicalMemory class can reveal the physical layout of installed modules, including the exact alphanumeric designation of each populated slot. The DeviceLocator and BankLabel properties show which motherboard channels contain the memory, which is important when remotely identifying installation errors or incorrect channel population.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Determining the memory generation and whether hardware error correction (ECC) is present is a key part of auditing workstations and entry-level servers.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The SMBIOSMemoryType property returns a numeric code tied directly to the JEDEC standard, allowing you to distinguish, for example, DDR4 from DDR5 without opening the case. Comparing DataWidth with TotalWidth also indicates whether ECC memory is supported: when the total bus width exceeds the data width (typically 72 bits versus 64), the module contains additional chips for on-the-fly bit error correction.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Use the following command to retrieve these specifications and the configured memory voltage:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_PhysicalMemory | Select-Object BankLabel, DeviceLocator, SMBIOSMemoryType, DataWidth, ConfiguredVoltage<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>A critical step when planning additional computing capacity is checking the maximum limits supported by the memory controller and motherboard.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>To retrieve this information, use the auxiliary Win32_PhysicalMemoryArray class, which describes the entire logical memory array rather than individual modules.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>This query returns the MaxCapacity property, which indicates the maximum RAM capacity supported by the hardware platform, and MemoryDevices, which shows the total number of physical memory slots on the board:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_PhysicalMemoryArray | Select-Object MaxCapacity, MemoryDevices<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>For complex hardware inventory scripts, it is useful to consolidate all of the low-level properties covered above into a single technical reference.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>For convenience, I compiled a summary matrix that makes it easier to navigate CIM class syntax and extract only the information needed to build a detailed hardware profile. The table below groups the advanced hardware metrics, their corresponding Windows system classes, and their practical meaning for an engineer:<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<th><strong><span>Component<\/span><\/strong><\/th>\n<th><strong><span>PowerShell Class<\/span><\/strong><\/th>\n<th><strong><span>Property<\/span><\/strong><\/th>\n<th><strong><span>Practical Meaning<\/span><\/strong><\/th>\n<\/tr>\n<tr>\n<td><strong><span>CPU<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_Processor<\/span><\/code><\/td>\n<td><code dir=\"ltr\"><span>SocketDesignation<\/span><\/code><\/td>\n<td><span>Exact motherboard socket type for the processor (for example, AM4, LGA1200).<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>CPU<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_Processor<\/span><\/code><\/td>\n<td><code dir=\"ltr\"><span>L3CacheSize<\/span><\/code><\/td>\n<td><span>Factory-installed L3 cache capacity, important for demanding computations.<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>CPU<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_Processor<\/span><\/code><\/td>\n<td><code dir=\"ltr\"><span>VirtualizationFirmwareEnabled<\/span><\/code><\/td>\n<td><span>Status of hardware virtualization at the BIOS firmware level.<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>RAM<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_PhysicalMemory<\/span><\/code><\/td>\n<td><code dir=\"ltr\"><span>DeviceLocator<\/span><\/code><span> \/ <\/span><code dir=\"ltr\"><span>BankLabel<\/span><\/code><\/td>\n<td><span>Exact physical location of a specific memory module in a motherboard slot.<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>RAM<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_PhysicalMemory<\/span><\/code><\/td>\n<td><code dir=\"ltr\"><span>ConfiguredVoltage<\/span><\/code><\/td>\n<td><span>Current operating voltage of the module, useful when matching an identical pair.<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>RAM<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_PhysicalMemoryArray<\/span><\/code><\/td>\n<td><code dir=\"ltr\"><span>MaxCapacity<\/span><\/code><\/td>\n<td><span>Hardware limit for the system\u2019s total RAM expansion.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span>Storage and Graphics Subsystem Diagnostics<\/span><\/h2>\n<p class=\"isSelectedEnd\"><span>Storage devices and graphics adapters are among the components most often replaced or monitored for technical issues.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Identifying the exact SSD model helps with timely controller firmware updates and can help prevent data loss. For graphics adapters, knowing the exact GPU revision is important when deploying the correct driver package.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The built-in Win32_DiskDrive class can retrieve serial numbers for solid-state drives and traditional hard disks. The class ignores logical partitions and focuses on the physical hardware, showing the actual number of devices connected to the motherboard\u2019s ports.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The graphics subsystem is queried through Win32_VideoController, which collects technical information for both discrete and integrated graphics adapters. The query displays the available video memory and the current graphics driver version installed in the operating system.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>For example:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_DiskDrive | Select-Object Model, SerialNumber, Size, MediaType<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This identifies all connected physical storage devices, returning their manufacturer names, serial numbers, and total unallocated capacity. The output makes it easy to distinguish a fast system SSD from a high-capacity hard drive used for file storage.<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_VideoController | Select-Object Name, AdapterRAM, DriverVersion<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This identifies installed graphics adapters, the amount of dedicated video memory, and the driver version in use. When a laptop uses both integrated and discrete graphics, the console returns technical information for both adapters.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Here is an example from my work laptop showing the output of both commands above:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell_3.jpg\" class=\"aligncenter\" \/><\/p>\n<p class=\"isSelectedEnd\"><span>Let\u2019s return to the graphics adapter and its parameters. What other GPU information can you \u201cpull\u201d with PowerShell?<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>For example, the <\/span><code dir=\"ltr\"><span>Win32_VideoController<\/span><\/code><span> class stores a large amount of graphics subsystem data that goes far beyond the commercial product name and basic memory capacity. PowerShell can provide a detailed technical report including driver information, hardware identifiers, and the current display output settings.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>To request every available graphics adapter property without filtering, use full-list output.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>This command displays dozens of otherwise hidden controller fields:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_VideoController | Format-List *<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>Here is a partial screenshot of the results from my work laptop:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell_4.jpg\" class=\"aligncenter\" \/><\/p>\n<p class=\"isSelectedEnd\"><span>For targeted hardware audits, inventory, or display troubleshooting, specific properties can be selected. The following categories cover additional graphics adapter data that can be extracted:<\/span><\/p>\n<ul data-spread=\"false\">\n<li><strong><span>Chip identification:<\/span><\/strong><span> exact name and architecture of the graphics processor installed on the board.<\/span><\/li>\n<li><strong><span>Driver information:<\/span><\/strong><span> exact software build date, which helps identify outdated systems.<\/span><\/li>\n<li><strong><span>Hardware codes:<\/span><\/strong><span> Plug and Play system identifiers containing Vendor ID and Device ID (critical for finding drivers for unidentified devices).<\/span><\/li>\n<li><strong><span>Display parameters:<\/span><\/strong><span> current resolution, refresh rate, and color depth.<\/span><\/li>\n<li><strong><span>Status:<\/span><\/strong><span> device operating status as reported by Windows.<\/span><\/li>\n<\/ul>\n<p class=\"isSelectedEnd\"><span>Specific metrics can be retrieved through filtering. The table below lists the exact CIM property names used to build targeted queries:<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><strong><span>Property<\/span><\/strong><\/td>\n<td><strong><span>Data Retrieved<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>VideoProcessor<\/span><\/code><\/td>\n<td><span>Internal engineering name of the graphics chip.<\/span><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>DriverDate<\/span><\/code><\/td>\n<td><span>Compilation date of the installed driver.<\/span><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>PNPDeviceID<\/span><\/code><\/td>\n<td><span>Hardware identifier string (contains VEN_xxxx and DEV_xxxx codes).<\/span><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>Status<\/span><\/code><\/td>\n<td><span>System-level device status (normally returns &#8220;OK&#8221;).<\/span><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>CurrentHorizontalResolution<\/span><\/code><\/td>\n<td><span>Current horizontal resolution of the primary monitor in pixels.<\/span><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>CurrentVerticalResolution<\/span><\/code><\/td>\n<td><span>Current vertical resolution of the primary monitor in pixels.<\/span><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>CurrentRefreshRate<\/span><\/code><\/td>\n<td><span>Current refresh rate of the connected display in Hz.<\/span><\/td>\n<\/tr>\n<tr>\n<td><code dir=\"ltr\"><span>VideoModeDescription<\/span><\/code><\/td>\n<td><span>Ready-made text summary of the video mode (for example, &#8220;1920 x 1080 x 4294967296 colors&#8221;).<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"isSelectedEnd\"><span>The ready-to-use command for generating a detailed technical report on the graphics accelerator and its drivers is:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_VideoController | Select-Object Name, VideoProcessor, DriverVersion, DriverDate, PNPDeviceID, Status<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>And here is the result:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell_5.jpg\" class=\"aligncenter\" \/><\/p>\n<p class=\"isSelectedEnd\"><span>When the main goal is to determine the current display output settings, such as remotely checking whether a user\u2019s resolution has changed, the query focuses on refresh and resolution parameters:<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_VideoController | Select-Object Name, CurrentHorizontalResolution, CurrentVerticalResolution, CurrentRefreshRate, VideoModeDescription<\/code><\/pre>\n<\/div>\n<h2><span>Network Hardware and Power Parameters<\/span><\/h2>\n<p class=\"isSelectedEnd\"><span>Network interfaces and power controllers require particular attention when administering fleets of portable devices.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>A unique hardware MAC address is needed for static routing, corporate firewall rules, or Wake-on-LAN configuration. On laptops, this is accompanied by the need to monitor the condition of the built-in battery.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Modern PowerShell versions provide the Get-NetAdapter cmdlet, which presents network data in a much cleaner format than older WMI classes. It automatically filters out many hidden virtual interfaces, software bridges, and tunnels, keeping the system engineer focused on physical network controllers.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Laptop batteries can be diagnosed through the separate Win32_Battery class, which exposes estimated capacity and charge status. Comparing the rated capacity with the actual charge level provides a reasonably accurate way to assess physical degradation of lithium cells without using vendor-specific service utilities.<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-NetAdapter | Select-Object Name, InterfaceDescription, MacAddress, LinkSpeed<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This specialized cmdlet lists active network interfaces, their physical MAC addresses, and current link speed. It removes the need to manually filter virtual system adapters and focuses on the physical hardware.<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Get-CimInstance Win32_Battery | Select-Object Name, BatteryStatus, EstimatedChargeRemaining, DesignCapacity<\/code><\/pre>\n<\/div>\n<p class=\"isSelectedEnd\"><span>This reads data from the laptop battery controller, showing the device identifier, remaining charge percentage, and factory capacity. Analyzing these values provides a detailed picture of the battery\u2019s current technical condition.<\/span><\/p>\n<h2><span>Data Organization and Output Formats<\/span><\/h2>\n<p class=\"isSelectedEnd\"><span>The collected hardware information needs to be structured correctly for further analysis or automated transfer into corporate asset management systems. PowerShell includes a built-in processing pipeline that can filter the required hardware properties and immediately convert them into the required text format, eliminating manual console-output processing.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>Engineers most often export results to tables, delimiter-based files, or universal structured objects. The appropriate format depends on the use case: whether the final report will be read by a specialist on screen or passed as a machine-readable log to another program.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The following PowerShell export formats are among the most useful for preserving inventory results in ready-to-use form:<\/span><\/p>\n<ul data-spread=\"false\">\n<li><span>CSV \u2014 a delimited tabular format that is ideal for bulk importing collected data into Excel or a relational database.<\/span><\/li>\n<li><span>JSON \u2014 a hierarchical format that can be easily parsed by modern web services, monitoring systems, and third-party APIs.<\/span><\/li>\n<li><span>HTML \u2014 can generate finished visual web reports for management directly from the shell script.<\/span><\/li>\n<\/ul>\n<p class=\"isSelectedEnd\"><span>To run inventory commands successfully on target machines, the execution environment must be initialized in the correct order. The preparation sequence for collecting hardware information without access issues is as follows:<\/span><\/p>\n<ol data-spread=\"false\" start=\"1\">\n<li><span>Open the Windows system menu and find the PowerShell application using the built-in search field.<\/span><\/li>\n<li><span>Right-click the program icon and select the option to run it as administrator.<\/span><\/li>\n<li><span>Confirm the User Account Control prompt so the shell can access protected system hardware classes.<\/span><\/li>\n<\/ol>\n<h2><span>WMI\/CIM Class Reference Table<\/span><\/h2>\n<p class=\"isSelectedEnd\"><span>There is no need to memorize every system call. A specialist only needs to understand the general naming logic and purpose of each class. The Common Information Model provides a standardized way to describe physical PC components. Using CIM cmdlets instead of legacy WMI queries provides faster script execution and more standardized output.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The following matrix summarizes the relationship between hardware components and the software classes used to diagnose them. It serves as a practical reference when writing automated audit scripts. The parameters were tested on current versions of Windows desktop operating systems.<\/span><\/p>\n<p class=\"isSelectedEnd\"><span>The reference table includes only hardware classes that consistently return usable hardware data on machines without requiring additional vendor-specific drivers.<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><strong><span>PC \/ Laptop Component<\/span><\/strong><\/td>\n<td><strong><span>CIM Class (PowerShell)<\/span><\/strong><\/td>\n<td><strong><span>Key Retrievable Parameters<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong><span>Desktop PC \/ Laptop<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_ComputerSystem<\/span><\/code><\/td>\n<td><span>Manufacturer, Model, SystemType, TotalPhysicalMemory<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>Motherboard<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_BaseBoard<\/span><\/code><\/td>\n<td><span>Manufacturer, Product, SerialNumber, Version<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>BIOS \/ UEFI<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_BIOS<\/span><\/code><\/td>\n<td><span>Manufacturer, SMBIOSBIOSVersion, SerialNumber, ReleaseDate<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>Processor (CPU)<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_Processor<\/span><\/code><\/td>\n<td><span>Name, NumberOfCores, NumberOfLogicalProcessors, MaxClockSpeed<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>RAM<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_PhysicalMemory<\/span><\/code><\/td>\n<td><span>Manufacturer, PartNumber, Capacity, Speed, FormFactor<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>Storage Drives (HDD\/SSD)<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_DiskDrive<\/span><\/code><\/td>\n<td><span>Model, SerialNumber, Size, InterfaceType, MediaType<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>Graphics Card (GPU)<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_VideoController<\/span><\/code><\/td>\n<td><span>Name, AdapterRAM, DriverVersion, VideoProcessor<\/span><\/td>\n<\/tr>\n<tr>\n<td><strong><span>Battery<\/span><\/strong><\/td>\n<td><code dir=\"ltr\"><span>Win32_Battery<\/span><\/code><\/td>\n<td><span>Name, DesignCapacity, FullChargeCapacity, EstimatedChargeRemaining<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style='text-align:right' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>Getting accurate information about a computer or laptop\u2019s hardware through PowerShell makes it easy to identify serial numbers, models, and [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":725,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[132],"tags":[307,555,554,308,356],"class_list":["post-724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-high-tech","tag-cmd","tag-commands","tag-laptop","tag-powershell","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PowerShell Hardware Inventory: PC Specs &amp; Details<\/title>\n<meta name=\"description\" content=\"Learn how to use PowerShell and CIM classes to identify PC hardware, RAM, storage, graphics, network, and battery details.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell Hardware Inventory: PC Specs &amp; Details\" \/>\n<meta property=\"og:description\" content=\"Learn how to use PowerShell and CIM classes to identify PC hardware, RAM, storage, graphics, network, and battery details.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/\" \/>\n<meta property=\"og:site_name\" content=\"Discover Something New Every Day!\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-15T03:43:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-15T03:43:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell-pc-parts.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"770\" \/>\n\t<meta property=\"og:image:height\" content=\"430\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Irina Petrova-Levin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Irina Petrova-Levin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PowerShell Hardware Inventory: PC Specs & Details","description":"Learn how to use PowerShell and CIM classes to identify PC hardware, RAM, storage, graphics, network, and battery details.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/","og_locale":"en_US","og_type":"article","og_title":"PowerShell Hardware Inventory: PC Specs & Details","og_description":"Learn how to use PowerShell and CIM classes to identify PC hardware, RAM, storage, graphics, network, and battery details.","og_url":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/","og_site_name":"Discover Something New Every Day!","article_published_time":"2026-08-15T03:43:36+00:00","article_modified_time":"2026-08-15T03:43:47+00:00","og_image":[{"width":770,"height":430,"url":"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell-pc-parts.jpg","type":"image\/jpeg"}],"author":"Irina Petrova-Levin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Irina Petrova-Levin","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#article","isPartOf":{"@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/"},"author":{"name":"Irina Petrova-Levin","@id":"https:\/\/poznayu.com\/en\/#\/schema\/person\/163c39d8c8321761270f1ccff380bb1e"},"headline":"PowerShell Hardware Inventory: PC Specs &#038; Details","datePublished":"2026-08-15T03:43:36+00:00","dateModified":"2026-08-15T03:43:47+00:00","mainEntityOfPage":{"@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/"},"wordCount":2361,"commentCount":0,"image":{"@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#primaryimage"},"thumbnailUrl":"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell-pc-parts.jpg","keywords":["CMD","commands","laptop","Powershell","Windows"],"articleSection":["High Tech"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/","url":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/","name":"PowerShell Hardware Inventory: PC Specs & Details","isPartOf":{"@id":"https:\/\/poznayu.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#primaryimage"},"image":{"@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#primaryimage"},"thumbnailUrl":"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell-pc-parts.jpg","datePublished":"2026-08-15T03:43:36+00:00","dateModified":"2026-08-15T03:43:47+00:00","author":{"@id":"https:\/\/poznayu.com\/en\/#\/schema\/person\/163c39d8c8321761270f1ccff380bb1e"},"description":"Learn how to use PowerShell and CIM classes to identify PC hardware, RAM, storage, graphics, network, and battery details.","breadcrumb":{"@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#primaryimage","url":"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell-pc-parts.jpg","contentUrl":"https:\/\/poznayu.com\/en\/wp-content\/uploads\/2026\/08\/powershell-pc-parts.jpg","width":770,"height":430,"caption":"PowerShell Hardware Inventory: PC Specs & Details"},{"@type":"BreadcrumbList","@id":"https:\/\/poznayu.com\/en\/powershell-hardware-inventory-pc-specs-details\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/poznayu.com\/en\/"},{"@type":"ListItem","position":2,"name":"PowerShell Hardware Inventory: PC Specs &#038; Details"}]},{"@type":"WebSite","@id":"https:\/\/poznayu.com\/en\/#website","url":"https:\/\/poznayu.com\/en\/","name":"Discover Something New Every Day!","description":"Your informational hub for useful tips, fascinating facts, in-depth reviews, top lists, and mysterious stories. Explore more!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/poznayu.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/poznayu.com\/en\/#\/schema\/person\/163c39d8c8321761270f1ccff380bb1e","name":"Irina Petrova-Levin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d982061a538108c9de15e7c525cce4b442520f11493b2e355401dd232f7ced95?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d982061a538108c9de15e7c525cce4b442520f11493b2e355401dd232f7ced95?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d982061a538108c9de15e7c525cce4b442520f11493b2e355401dd232f7ced95?s=96&d=mm&r=g","caption":"Irina Petrova-Levin"},"description":"I'm Irina Petrova-Levin, a graduate of the Moscow Technical University of Communications and Informatics (MTUCI), where I earned my degree in Information Technology. My professional journey has been deeply rooted in JavaScript, PHP, and Python, driven by a profound fascination with how modern technology shapes our everyday lives. I strive to explain complex processes in a clear and accessible way without ever sacrificing accuracy or missing the core of the matter. Now based in Dallas since 2019, my work reflects a unique synthesis of Eastern European engineering depth and the dynamic American tech mindset. This blend allows me to bridge two distinct technological traditions. My goal is to deconstruct the real mechanisms behind the devices and systems we use daily. In my articles, I aim to deliver information that is not only practical and structured but also reveals the hidden logic of how our world actually works.","sameAs":["https:\/\/poznayu.com\/en\/category\/high-tech\/"],"url":"https:\/\/poznayu.com\/en\/author\/technocrat\/"},false]}},"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":1,"sum_votes":5},"_links":{"self":[{"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/posts\/724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/comments?post=724"}],"version-history":[{"count":3,"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":735,"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/posts\/724\/revisions\/735"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/media\/725"}],"wp:attachment":[{"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/media?parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/categories?post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/poznayu.com\/en\/wp-json\/wp\/v2\/tags?post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}