VMware Script Catalog: Get Hardware Asset Tag

Version 6

    Author: Shavlik
    Category: Information
    Inputs: None
    Minimum ITScripts engine version required:  8.0.0.0
    Modifies the target machine: No
    Name: Get Hardware Asset Tag    
    Outputs: Returns the service tag if any.
    Purpose: Retrieve the hardware asset tag of the target machine.
    Script Version: 1.0.0.23
    Target Type: Any


    Technical Description:

    This script uses WMI to determine the Asset Tag.  Hardware vendors can place the Asset TagSerial in several locations in WMI.  This script is using the Win32_SystemEnclosure SerialNumber.  This has been tested against Dell and HP with consistent success.  Other hardware vendors may or may not utilize the same WMI value for storing their information.