Skip to content

For machines with multiple warranties, it gives only first #2

Description

@wrbeaudo

If the machine has multiple warranties, the attribute being pulled is from the shortest.

This line:

$properties.Add("WarrantyEndDate", $webresponse.wiOutputForm.warrantyInfo.serviceInfo.wed[0])

should be:
$properties.Add("WarrantyEndDate", $webresponse.wiOutputForm.warrantyInfo.upmaList.upma.mEndDate)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions