0 Votes

Relevance #3023255
Log In or Register to download the BES file, and more.


Relevance

 
  * Results in a true/false
Show indented relevance
if ((exists setting "BigFix_Custom_Serial" of client) and (exists value of setting "BigFix_Custom_Serial" of client)) then value of setting "BigFix_Custom_Serial" of client else ( if (name of operating system as lowercase starts with "mac") then (string "IOPlatformSerialNumber" of dictionary of service plane of iokit registry) else ( if (name of operating system as lowercase starts with "win") then (if (exists folder ((if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of regapp "besclient.exe")) & "\LMT\CIT\tlm_hw_scans")) then (unique values of (it as text) of (xpaths "Hardware/ComponentID/SerialNumber" of xml documents of files whose (name of it as lowercase contains "tlm_hw_") of folders ((if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of regapp "besclient.exe")) & "\LMT\CIT\tlm_hw_scans\"))) else "Missing Hardware Scan") else (if (exists folder (((if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of parent folder of client folder of site "actionsite"))) & "/LMT/CIT/tlm_hw_scans")) then (if exists property "xml document" then (unique values of (it as text) of (xpaths "Hardware/ComponentID/SerialNumber|Hardware/ComponentID/HWSerial" of xml documents of files whose (name of it as lowercase contains "tlm_hw_") of folders (((if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of parent folder of client folder of site "actionsite"))) & "/LMT/CIT/tlm_hw_scans/"))) else (unique values of (following texts of lasts ">" of preceding texts of lasts "<" of lines containing "Serial" whose (line number of it < 15) of files whose (name of it as lowercase contains "tlm_hw_") of folders (((if (version of client >= "9" as version) then (pathname of parent folder of data folder of client) else (pathname of parent folder of parent folder of client folder of site "actionsite"))) & "/LMT/CIT/tlm_hw_scans/"))) ) else "Missing Hardware Scan")) )

Property Details

ID3023255
Status
Added by
Last Modified by on 8/17/2021 10:44:24 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/3023255'><img src='https://bigfix.me/cdb/relevanceimage/3023255?width=400' border='0'></a>
Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!