DesktopEngineer.com Training & Services
Overview Windows Installer Vista Readiness Testamonials Formats Pricing Registration Resources Help & FAQ


Email Notification of New Dates and Classes

Training & Services > Resources > Tools and Scripts
IsLaptop WSH & CA  rss

IsLaptop VBScript - WSH and Custom Action

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.

islaptop-wsh-msica.exe islaptop-wsh-msica.exeislaptop-wsh-msica.exe

[Print Page] [Site Map] [Search] [Contact Us]
csi-windows.com_smallhorizontal

© 2013 DesktopAdmin.com, Inc.
All trademarks and copyrights on this page
are owned by their respective owners.