Get-HPDeviceAssetTag



Summary

Retrieves the device asset tag of the current device unless specified for another platform

Syntax

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

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

Description

This command retrieves the asset tag (also called the Asset Tracking Number) for a device. Some computers may have a blank asset tag or have the asset tag pre-populated with the serial number.

Parameters

Name Argument Description
ComputerName <String> Specifies a target computer for this command to create its own one-time-use CIMSession object using with. If not specified, this command will use the current device as the target computer for this command. The alias 'Target' can also be used for this parameter.
CimSession <CimSession> Specifies a pre-established CIMSession object (as created by the New-CIMSession command) or a ComputerName in string format for this command to create a one-time-use CIMSession object with

Examples


PS C:\> Get-HPDeviceAssetTag