Skip to content

Get HPWarrantyEntitlement

Thomas Malkewitz edited this page Oct 16, 2015 · 6 revisions

Get-HPWarrantyEntitlement

Synopsis

Gets a warranty entitlement from Hewlett-Packard.

Syntax

Get-HPWarrantyEntitlement [-CountryCode <String>] [-XmlExportPath <String>] [<CommonParameters>]

Get-HPWarrantyEntitlement [-ComputerName <String[]>] [-CountryCode <String>] [-XmlExportPath <String>] [<CommonParameters>]

Get-HPWarrantyEntitlement -ProductNumber <String> -SerialNumber <String> [-CountryCode <String>] [-XmlExportPath <String>] [<CommonParameters>]

Description

Uses a serial number and product number pair to get the warranty entitlement using the HP ISEE API.
This function is primarily used for server class systems.

Parameters

-CountryCode <String>

The county value to invoke the warranty lookup with.

Required? False
Position? Named
Default value EN
Accept pipeline input? False
Accept wildcard characters? False

-XmlExportPath <String>

Path to a location to export the entire reply envelope in XML.

Required? False
Position? Named
Default value  
Accept pipeline input? False
Accept wildcard characters? False

-ComputerName <String[]>

The name of a computer to get the SerialNumber and ProductNumber from using WMI.

Required? False
Position? Named
Default value  
Accept pipeline input? True (ByValue)
Accept wildcard characters? False

-SerialNumber <String>

A static serial number, must be used with the ProductNumber parameter.

Required? True
Position? Named
Default value  
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? False

-ProductNumber <String>

A static product number, must be used with the SerialNumber parameter.

Required? True
Position? Named
Default value  
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

System.String

Represents text as a series of Unicode characters.

Outputs

System.Management.Automation.PSCustomObject

Serves as a placeholder object that is used when the PSObject constructor, which has no parameters, is used.

Notes

Use the Get-HPIncWarrantyEntitlment cmdlet for workstation class systems.

Examples

Example 1

PS C:\> Get-HPWarrantyEntitlment
SerialNumber                     : ABCDE12345
ProductNumber                    : F2R10UT#ABA
ProductLineDescription           : 
ProductLineCode                  : 
ActiveWarrantyEntitlement        : true
OverallWarrantyStartDate         : 2013-12-30
OverallWarrantyEndDate           : 2017-02-02
OverallContractEndDate           : 
WarrantyDeterminationDescription : Ship date
WarrantyDeterminationCode        : 26
WarrantyExtension                : 0
GracePeriod                      : 0

Related links

Project Home Page