Serial Number based on BFI HW Scan
Log In or Register to download the BES file, and more.

0 Votes

Description

This is sample analysis pulling out raw data from BigFix Inventory Hardware Scan.

Sample covers two entries: Serial Number and UUID from ComponentID section

Purpose is to have that data visible on BigFix Server side / imported as-is to the BigFix Inventory


Property Details

ID2998606
StatusAlpha - Code that was just developed
TitleSerial Number based on BFI HW Scan
DomainBESC
KeywordsCapacity Scan, Hardware Scan, UUID, Serial Number
Added by on 3/19/2020 6:05:06 AM
Last Modified by on 3/19/2020 9:45:47 AM
Counters 60 Views / 2 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.

Properties

Serial Number based on BFI HW Scan
Period 7 days
 
  * Results in a true/false
Show indented relevance
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" 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 "Missing Hardware Scan" ) else "No information")
UUID based on BFI HW Scan
Period 7 days
 
  * Results in a true/false
Show indented relevance
concatenation of (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/UUID" of xml documents of files whose (name of it as lowercase contains "tlm_hw_" and exists xpath "/Hardware/ComponentID/UUID" of xml document of it) 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/UUID" of xml documents of files whose (name of it as lowercase contains "tlm_hw_" and exists xpath "/Hardware/ComponentID/UUID" of xml document of it) 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" ) else "No information") as string)
BFI HW Scan Results
Period 7 days
 
  * Results in a true/false
Show indented relevance
pathnames 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\")

Relevance

Used in 84 fixlets and 87 analyses   * Results in a true/false
Show indented relevance
true

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!