Serial Number based on BFI HW Scan
1 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
2998606 | |
Alpha - Code that was just developed | |
Serial Number based on BFI HW Scan | |
BESC | |
Capacity Scan, Hardware Scan, UUID, Serial Number | |
ArturZ on 3/19/2020 6:05:06 AM | |
ArturZ on 3/19/2020 9:45:47 AM | |
1888 Views / 21 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Properties
Serial Number based on BFI HW Scan
Period
7 days
* Results in a true/false |

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 |

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 |

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
Sharing
Social Media: |