This script uses 5 different WMI classes to attempt to determine if the machine it is running on is a laptop. You can customize it to ensure that it is getting all the laptops for your organization.
Significant Features: - Detect if a computer is a laptop by checking five different WMI classes for data that may help identify the computer as a laptop.
- Support WSH and MSI Custom Actions and runs as either without modification.
- Verbose mode (WSH and MSI CA) to view the values of the WMI classes as they are checked.
- Customizable You customize the script criteria for determining a laptop.
- Model Override
If all else fails for specific laptops, you can enter their "Model" (as reported by Win32_ComputerSystem) in a comma delimited list held in "ModelList" to ensure they are flagged as a laptop. - Checks for WMI
If WMI is not present or not responding the function returns a -1.
See documentation inside the script for more information.
Download Now (50 Kb)
Topic: "Scripting"
|
|