0 Votes

Cached ComputerType matches relevance?
Log In or Register to download the BES file, and more.


Relevance

 
  * Results in a true/false
Show indented relevance
(if (not exists setting "_BESClient_ComputerType" whose (exists value of it) of client) then ERROR "not set" else (value of setting "_BESClient_ComputerType" whose (exists value of it) of client)) = (if name of operating system = "Mac OS X" then( if ((exists key whose (it as string as lowercase contains "battery") of entries of dictionaries of nodes of it) or (exists node "AppleACPIPlatformExpert/SMB0/AppleECSMBusController/AppleSmartBatteryManager" of service plane of iokit registry) of it) of service plane of iokit registry then "Laptop" else "Workstation" ) else (if (name of operating system as lowercase starts with "win") then (if (name of operating system = "Win95" OR name of operating system = "Win98" or name of operating system = "WinME") then "Workstation" else (if ((exists wmi) and (((exists selects "* from win32_Battery" of wmi) and (exists descriptions whose (it as string as lowercase = "Microsoft ACPI-Compliant Control Method Battery" as lowercase) of active devices)) OR exists (( (8; 9; 10; 11; 12; 14; 18; 21), (integer values of selects "ChassisTypes from Win32_SystemEnclosure" of wmi) ) whose (item 0 of it = item 1 of it)))) then "Laptop" else (if (value "ProductType" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions" of registry = "WinNT") then "Workstation" else "Server"))) else "Unknown"))

Property Details

ID2996923
Status
TitleCached ComputerType matches relevance?
Added by
Last Modified by on 6/20/2013 10:11:13 AM
Counters 0 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Sharing

Relevance Image Sharing:

<a href='https://bigfix.me/cdb/relevance/2996923'><img src='https://bigfix.me/cdb/relevanceimage/2996923?width=400' border='0'></a>
Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!