if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Amazon" ) of cloud provider ) then ( if ( exists path "$.imageId"ofit ) then ( path "$.imageId"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Amazon") of cloud provider) then (if (exists path "$.imageId"ofit) then (path "$.imageId"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Amazon" ) of cloud provider ) then ( if ( exists path "$.instanceId"ofit ) then ( path "$.instanceId"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Amazon") of cloud provider) then (if (exists path "$.instanceId"ofit) then (path "$.instanceId"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Amazon" ) of cloud provider ) then ( if ( exists path "$.availabilityZone"ofit ) then ( path "$.availabilityZone"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Amazon") of cloud provider) then (if (exists path "$.availabilityZone"ofit) then (path "$.availabilityZone"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Azure" ) of cloud provider ) then ( if ( exists path "$.compute.resourceGroupName"ofit ) then ( path "$.compute.resourceGroupName"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Azure") of cloud provider) then (if (exists path "$.compute.resourceGroupName"ofit) then (path "$.compute.resourceGroupName"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Azure" ) of cloud provider ) then ( if ( exists path "$.compute.subscriptionId"ofit ) then ( path "$.compute.subscriptionId"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Azure") of cloud provider) then (if (exists path "$.compute.subscriptionId"ofit) then (path "$.compute.subscriptionId"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Azure" ) of cloud provider ) then ( if ( exists path "$.compute.tags"ofit ) then ( path "$.compute.tags"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Azure") of cloud provider) then (if (exists path "$.compute.tags"ofit) then (path "$.compute.tags"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Azure" ) of cloud provider ) then ( if ( exists path "$.compute.vmSize"ofit ) then ( path "$.compute.vmSize"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Azure") of cloud provider) then (if (exists path "$.compute.vmSize"ofit) then (path "$.compute.vmSize"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
if ( exists property "cloud provider" ) then ( if ( exists name whose ( itcontains"Azure" ) of cloud provider ) then ( if ( exists path "$.network.interface[0].ipv4.subnet[0].address"ofit ) then ( path "$.network.interface[0].ipv4.subnet[0].address"ofit ) else nothing ) of ( json of instance data of cloud provider ) else nothing ) else nothing
if (exists property "cloud provider") then (if (exists name whose (itcontains"Azure") of cloud provider) then (if (exists path "$.network.interface[0].ipv4.subnet[0].address"ofit) then (path "$.network.interface[0].ipv4.subnet[0].address"ofit) else nothing) of (json of instance data of cloud provider) else nothing) else nothing
( exists ( string values of properties "HotFixID"ofit ) whose ( it="KB5022842" ) of select objects "HotFixID from Win32_QuickFixEngineering"of wmis ) as string
(exists (string values of properties "HotFixID"ofit) whose (it="KB5022842") of select objects "HotFixID from Win32_QuickFixEngineering"of wmis) as string
ifexists property "hardware"then serial of hardware as string else ( 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 startswith"mac" ) then ( string "IOPlatformSerialNumber"of dictionary of service plane of iokit registry ) else ( if ( name of operating system as lowercase startswith"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 ( itas text ) of ( xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose ( name ofitas lowercase contains"tlm_hw_"and modification time ofit= ( 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 ( ifexists property "xml document"then ( unique values of ( itas text ) of ( xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose ( name ofitas lowercase contains"tlm_hw_"and modification time ofit= ( 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 ofit < 15 ) of files whose ( name ofitas lowercase contains"tlm_hw_"and modification time ofit= ( 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>" ) ) ) )
ifexists property "hardware"then serial of hardware as string else ( 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 startswith"mac")then(string "IOPlatformSerialNumber"of dictionary of service plane of iokit registry)else(if(name of operating system as lowercase startswith"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(itas text)of(xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose(name ofitas lowercase contains"tlm_hw_"and modification time ofit= (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(ifexists property "xml document"then(unique values of(itas text)of(xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose(name ofitas lowercase contains"tlm_hw_"and modification time ofit= (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 ofit < 15)of files whose(name ofitas lowercase contains"tlm_hw_"and modification time ofit= (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>") ) ))
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 ( ifexists property "hardware"then serial of hardware as string else ( if ( name of operating system as lowercase startswith"mac" ) then ( string "IOPlatformSerialNumber"of dictionary of service plane of iokit registry ) else ( if ( name of operating system as lowercase startswith"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 ( itas text ) of ( xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose ( name ofitas lowercase contains"tlm_hw_"and modification time ofit= ( 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"Not supported: use BigFix_Custom_Serial Computer Property to set serial" ) 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 ( ifexists property "xml document"then ( unique values of ( itas text ) of ( xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose ( name ofitas lowercase contains"tlm_hw_"and modification time ofit= ( 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 ofit < 15 ) of files whose ( name ofitas lowercase contains"tlm_hw_"and modification time ofit= ( 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"Not supported: use BigFix_Custom_Serial Computer Property to set serial" ) ) ) )
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 ( ifexists property "hardware"then serial of hardware as string else ( if(name of operating system as lowercase startswith"mac") then (string "IOPlatformSerialNumber"of dictionary of service plane of iokit registry)else(if(name of operating system as lowercase startswith"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(itas text)of(xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose(name ofitas lowercase contains"tlm_hw_"and modification time ofit= (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"Not supported: use BigFix_Custom_Serial Computer Property to set serial")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(ifexists property "xml document"then(unique values of(itas text)of(xpaths "Hardware/ComponentID/SerialNumber"of xml documents of files whose(name ofitas lowercase contains"tlm_hw_"and modification time ofit= (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 ofit < 15)of files whose(name ofitas lowercase contains"tlm_hw_"and modification time ofit= (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"Not supported: use BigFix_Custom_Serial Computer Property to set serial") ) ))
/* MACAddress, Manufacturer, NetConnectionStatus, ProductName, Speed */ ( following texts of firsts ", 2, "of concatenations ", "of string values of properties ofit ) of select objects "Manufacturer,ProductName,NetConnectionStatus,MACAddress,Speed from Win32_NetworkAdapter where (MACAddress IS NOT NULL and NetConnectionStatus IS NOT NULL and Speed IS NOT NULL)"of wmis
/* MACAddress, Manufacturer, NetConnectionStatus, ProductName, Speed */ (following texts of firsts ", 2, "of concatenations ", "of string values of properties ofit) of select objects "Manufacturer,ProductName,NetConnectionStatus,MACAddress,Speed from Win32_NetworkAdapter where (MACAddress IS NOT NULL and NetConnectionStatus IS NOT NULL and Speed IS NOT NULL)"of wmis