Get-HPDevicePartNumber



Summary

Get the device PartNumber (or SKU)

Syntax

Get-HPDevicePartNumber [[-ComputerName] <String>] [<CommonParameters>]

Get-HPDevicePartNumber [-CimSession] <CimSession> [<CommonParameters>]

Description

Get the device part number for the current device. This function is equivalent to reading the field SystemSKUNumber from the WMI class Win32_ComputerSystem.

Parameters

Name Argument Description
ComputerName <String> Execute the command on specified target computer. If not specified, the command is executed on the local computer.
CimSession <CimSession> A pre-established CIM Session (as created by New-CIMSession cmdlet). Use this to pass a preconfigured session object to optimize remote connections or specify the connection protocol (Wsman or DCOM). If not specified, the function will create its own one-time use CIM Session object, and default to DCOM protocol.

Examples


PS C:\> Get-HPDevicePartNumber