Skip to main content

Get Lenovo Warranty Info

Overview

This script is designed to run via Datto RMM to check and update Lenovo warranty information. It downloads the 'Get-LenovoWarrantyInfo' agnostic script from a content repository, executes it, and updates the warranty information into a specified Datto UDF (User Defined Field).

Dependencies

Implementation

  1. Download the component Get Lenovo Warranty Info from the attachments.

  2. After downloading the attached file, click on the Import button Image 1

  3. Select the component just downloaded and add it to the Datto RMM interface.

Sample Run

To execute the component over a specific machine, follow these steps:

  1. Select the machine you want to run the component on from the Datto RMM.

  2. Click on the Quick Job button.
    Image 2

  3. Search the component Get Lenovo Warranty Info and click on Select Image 3

  4. Sample Run: image 4

Note: The UDF variable number may vary depending on the organization. In our VSA instance, the UDF number is 16; however, this number may differ in other RMM environments. Please also rename that UDF With Warranty Expiration

Datto Variables

Variable NameTypeDefaultDescription
usrUDFString

Output

  • UDFs Update [Warranty Expiration] image 5

  • stdOut image 6

  • stdError

Attachments

Get Lenovo Warranty Info