Get-HPDeviceDetails



Summary

Retrieves the platform name, system ID, or operating system support using either the platform name or its system ID

Syntax

Get-HPDeviceDetails [[-Platform] <String>] [-OSList] [[-Url] <String>] [<CommonParameters>]

Get-HPDeviceDetails [-Name] <String> [[-Like]] [-OSList] [[-Url] <String>] [<CommonParameters>]

Description

This command retrieves information about the platform, given a platform name or system ID. This command can be used to convert between platform name and system IDs. Note that a platform may have multiple system IDs, or a system ID may map to multiple platforms.

This command returns the following information:

  • SystemID: the system ID for this platform
  • FamilyID: the platform family ID
  • Name: the name of the platform
  • DriverPackSupport: this platform supports driver packs

Note that this command is not supported in WinPE.

Parameters

Name Argument Description
Platform <String> Specifies a platform id (a 4-digit hexadecimal number) for the command to query with
Name <String> Specifies a platform name for the command to query with. The name must match the platform name exactly, unless the -Match/-Like parameter is also specified.
Like Allows the query to return outputs based on a substring match rather than an exact match. If the platform contains the substring defined by the -Name parameter, it will be included in the output. This parameter can also be specified as -Match, for backwards compatibility.

However, this parameter is now obsolete and may be removed at a future time. You can simply pass wildcards in the name field instead of using the like parameter.
For example, "Get-HPDeviceDetails -name '*EliteBook*'" and "Get-HPDeviceDetails -like -name 'EliteBook'" are identical.
OSList If specified, this command returns the list of supported operating systems for the specified platform.
Url <String> Specifies an alternate location for the HP Image Assistant (HPIA) platform list XML. This URL must be HTTPS. If not specified, https://hpia.hpcloud.hp.com/ref is used by default.

Examples


PS C:\> Get-HPDeviceDetails -Platform 8100

PS C:\> Get-HPDeviceDetails -Name 'HP ProOne 400 G3 20-inch Touch All-in-One PC'

PS C:\> Get-HPDeviceDetails -Like -Name '840 G5'