BFI - Serial Numbers / UUIDs
0 Votes |
Versioning - This is the latest version.
1 | BFI - Serial Numbers / UUIDs | 6/23/2021 7:00:20 AM |
2 | BFI - Serial Numbers / UUIDs | 8/4/2021 2:26:01 AM |
3 | BFI - Serial Numbers / UUIDs | 8/17/2021 6:06:42 AM |
4 | BFI - Serial Numbers / UUIDs | 8/17/2021 10:44:07 AM |
5 | BFI - Serial Numbers / UUIDs | 1/24/2022 8:31:02 AM |
Description
This is sample analysis pulling out raw data from BigFix Inventory Hardware Scan, Detailed Hardware Scan as well as BigFix Client Inspectors.
Property Details
2998669 | |
QA - Ready for Production Level Testing | |
BFI - Serial Numbers / UUIDs | |
BESC | |
Serial Number, UUID | |
ArturZ on 1/24/2022 8:31:02 AM | |
ArturZ on 1/24/2022 9:17:29 AM | |
1882 Views / 13 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 "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_" and modification time of it = (maximum of modification times of files of 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\")))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_" and modification time of it = (maximum of modification times of files of 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")))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 "<SerialNumber>" whose(line number of it < 15)of files whose(name of it as lowercase contains "tlm_hw_" and modification time of it = (maximum of modification times of files of 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")))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>"))
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 (unique values of (following texts of lasts ">" of preceding texts of lasts "<" of lines containing "<UUID>" 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>") as string)
BFI HW Scan Results
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 (names 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 (names 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>" )
BigFix UUID OS
Period
7 days
* Results in a true/false |

if exists property "uuid of operating system" then uuid of operating system as string else "<Not Available>"
BigFix HW Serial
Period
7 days
* Results in a true/false |

if exists property "hardware" then serial of hardware as string else "<Not Available>"
BigFix UUID HW
Period
7 days
* Results in a true/false |

if exists property "hardware" then uuid of hardware as string else "<Not Available>"
BFI Detailed HW
Period
7 days
* Results in a true/false |

if (if (name of operating system as lowercase starts with "win") then (exists file ((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" & "\detailed_hw_output.xml")) else (exists file ((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" & "/detailed_hw_output.xml"))) then (if (name of operating system as lowercase starts with "win") then (unique values of (it as text) of xpaths "Hardware/SMBIOS/SystemSerialNumber" of xml document of file ((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" & "\detailed_hw_output.xml")) else (if exists property "xml document" then (unique values of (it as text) of xpaths "Hardware/SMBIOS/SystemSerialNumber" of xml document of file ((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" & "/detailed_hw_output.xml")) else ("No xml inspector support"))) else ("<No BFI Detailed HW Scan result available yet>")
Custom serial - BF Client setting: BigFix_Custom_Serial
Period
1 day
* Results in a true/false |

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 "<Not set BigFix_Custom_Serial>"
Serial Number
Period
7 days
* Results in a true/false |

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")) )
HWSerial based on BFI HWScan
Period
7 days
* Results in a true/false |

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/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 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/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 "<HWSerial>" 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"))
BigFix Data Folder
Period
7 days
* Results in a true/false |

((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")))
Relevance
Not in Proxy Agent Context (Relevance 1131)

if exists property "in proxy agent context" then ( not in proxy agent context ) else true
Sharing
Social Media: |
Comments
![]() |
|
Jan, 24th version: "Serial Number based on BFI HW Scan" reports only most recent Serial Number. |