Get-HPDeviceAssetTag



Summary

Get the device asset tag

Syntax

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

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

Description

Retrieves the asset tag for a device (also called the Asset Tracking Number). Some computers may have a blank asset tag, others may have the asset tag pre-populated with the serial number value.

Parameters

Name Argument Description
ComputerName <String> Alias -Target. 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-HPDeviceAssetTag