( if ( it ) then"PASS"else"FAIL - no 64GB fixed drive" ) of ( exists drive whose ( type ofit="DRIVE_FIXED"and ( total space of it/ ( 1024*1024*1024 ) ) >=64 ) )
(if (it) then"PASS"else"FAIL - no 64GB fixed drive") of ( exists drive whose (type ofit="DRIVE_FIXED"and (total space of it/(1024*1024*1024)) >=64 ))
( if ( number of elements ofit=0 ) then"PASS"else"FAIL - Issues: " & concatenation ","of elements ofit ) of set of ( following texts whose ( it does not contain "12"AND ( itas integer < 12 ) of first 2of ( itas trimmed string ) of following text of first "DirectX"ofit ) of first ": "of ( itas string ) of lines whose ( itas trimmed string startswith"DirectX Version: " ) of it; following texts whose ( ( itas trimmed string as version < "2.0" ) of following text of first "WDDM"ofit ) of firsts ": "of ( itas string ) of lines whose ( itas trimmed string startswith"Driver Model:"anditcontains"WDDM" ) ofit ) of file "win11-eligibility\dxdiag.txt"of parent folder of client |"probe not run"
(if (number of elements ofit=0) then"PASS"else"FAIL - Issues: " & concatenation ","of elements ofit ) of set of ( following texts whose (it does not contain "12"AND (itas integer < 12 ) of first 2of (itas trimmed string) of following text of first "DirectX"ofit) of first ": "of (itas string) of lines whose (itas trimmed string startswith"DirectX Version: ") of it; following texts whose ( (itas trimmed string as version < "2.0") of following text of first "WDDM"ofit) of firsts ": "of (itas string) of lines whose (itas trimmed string startswith"Driver Model:"anditcontains"WDDM") ofit)of file "win11-eligibility\dxdiag.txt"of parent folder of client |"probe not run"
( if number of elements ofit=0then"FAIL - TPM not visible in wmi"else ( if ( number of elements ofit=0 ) then"PASS"else"FAIL - TPM issues: " & concantenation "|"of elements ofit ) of set of elements whose ( ( itcontains"_InitialValue"ANDnot ( itas boolean ) of first "="ofit ) OR ( ( itas version < "2.0" ) of tuple string item 0of following text of first "SpecVersion="ofit ) ) ofit ) of set of string values of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm"
(if number of elements ofit=0then"FAIL - TPM not visible in wmi"else (if (number of elements ofit=0) then"PASS"else"FAIL - TPM issues: " & concantenation "|"of elements ofit) of set of elements whose ((itcontains"_InitialValue"ANDnot (itas boolean) of first "="ofit) OR ((itas version < "2.0") of tuple string item 0of following text of first "SpecVersion="ofit)) ofit) of set of string values of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm"
( if ( it >=2004 ) then"PASS"else"FAIL - Current Version: " & ( itas string ) ) of ( itas integer ) of value "ReleaseID"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"of native registry
(if (it >=2004) then"PASS"else"FAIL - Current Version: " & (itas string)) of (itas integer) of value "ReleaseID"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"of native registry
( if number of elements ofit=0then"FAIL - TPM not visible in wmi"else ( if ( number of elements ofit=0 ) then"PASS"else"FAIL - TPM issues: " & concantenation "|"of elements ofit ) of set of elements whose ( ( itcontains"_InitialValue"ANDnot ( itas boolean ) of following text of first "="ofit ) OR ( ( itas version < "2.0" ) of tuple string item 0of following text of first "SpecVersion="ofit ) ) ofit ) of set of string values of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm"
(if number of elements ofit=0then"FAIL - TPM not visible in wmi"else (if (number of elements ofit=0) then"PASS"else"FAIL - TPM issues: " & concantenation "|"of elements ofit) of set of elements whose ((itcontains"_InitialValue"ANDnot (itas boolean) of following text of first "="ofit) OR ((itas version < "2.0") of tuple string item 0of following text of first "SpecVersion="ofit)) ofit) of set of string values of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm"
( if number of elements ofit=0then"FAIL - TPM not visible in wmi"else ( if ( number of elements ofit=0 ) then"PASS"else"FAIL - TPM issues: " & concantenation "|"of elements ofit ) of set of elements whose ( ( itcontains"_InitialValue"ANDnot ( itas boolean ) of following text of first "="ofit ) OR ( ( itas version < "2.0" ) of tuple string item 0of following text of first "SpecVersion="ofit ) ) ofit ) of set of ( ( itas string ) of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm" )
(if number of elements ofit=0then"FAIL - TPM not visible in wmi"else (if (number of elements ofit=0) then"PASS"else"FAIL - TPM issues: " & concantenation "|"of elements ofit) of set of elements whose ((itcontains"_InitialValue"ANDnot (itas boolean) of following text of first "="ofit) OR ((itas version < "2.0") of tuple string item 0of following text of first "SpecVersion="ofit)) ofit) of set of ((itas string) of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm")
( if number of elements ofit=0then"FAIL - TPM not visible in wmi"else ( if ( number of elements ofit=0 ) then"PASS"else"FAIL - TPM issues: " & concatenation "|"of elements ofit ) of set of elements whose ( ( itcontains"_InitialValue"ANDnot ( itas boolean ) of following text of first "="ofit ) OR ( ( itas version < "2.0" ) of tuple string item 0of following text of first "SpecVersion="ofit ) ) ofit ) of set of ( ( itas string ) of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm" )
(if number of elements ofit=0then"FAIL - TPM not visible in wmi"else (if (number of elements ofit=0) then"PASS"else"FAIL - TPM issues: " & concatenation "|"of elements ofit) of set of elements whose ((itcontains"_InitialValue"ANDnot (itas boolean) of following text of first "="ofit) OR ((itas version < "2.0") of tuple string item 0of following text of first "SpecVersion="ofit)) ofit) of set of ((itas string) of selects "IsActivated_InitialValue, IsEnabled_InitialValue, IsOwned_InitialValue, SpecVersion from Win32_Tpm"of wmis "root\CIMv2\Security\MicrosoftTpm")
( if ( it >= 4096 ) then"PASS"else"FAIL - Current memory in MB: " & ( itas string ) ) of ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram /1048576 )
(if (it >= 4096) then"PASS"else"FAIL - Current memory in MB: " & (itas string)) of (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram /1048576)
computer name, ( ( month ofitas two digits & "/" & day_of_month ofitas two digits & "/" & year ofitas string ) of dates ( local time zone ) of times generated of it, ( time of times ( local time zone ) of times generated ofit ) , concatenation of substrings separated by "%0d%0a"of ( preceding text of first "%0d%0a"of following text of last "Account Name:%09%09"ofit ) of ( descriptions ofit ) ) of records whose ( event id ofit=4740and now - time generated ofit < 1*day ) of ( security event log )
computer name, ((month ofitas two digits & "/" & day_of_month ofitas two digits & "/" & year ofitas string) of dates (local time zone) of times generated of it, (time of times (local time zone) of times generated ofit), concatenation of substrings separated by "%0d%0a"of (preceding text of first "%0d%0a"of following text of last "Account Name:%09%09"ofit) of (descriptions ofit)) of records whose (event id ofit=4740and now - time generated ofit < 1*day) of (security event log)
( time generated of it, "Record ID:" & record number ofitas string, "Event ID:" & event id ofitas string, description ofit ) of records whose ( source ofit="Microsoft-Windows-WUSA"and event id ofit=3 ) of event log "Setup"
(time generated of it, "Record ID:" & record number ofitas string, "Event ID:" & event id ofitas string, description ofit) of records whose (source ofit="Microsoft-Windows-WUSA"and event id ofit=3) of event log "Setup"
number of bes fixlets whose ( not custom flag ofitAND download size ofit!=0AND now - modification time ofit < 90 * day ANDexists applicable computers ofitANDexists scripts whose ( itas lowercase contains"prefetch" ) of actions ofit )
number of bes fixlets whose(not custom flag ofitAND download size ofit!=0AND now - modification time ofit < 90 * day ANDexists applicable computers ofitANDexists scripts whose(itas lowercase contains"prefetch") of actions ofit)
( item 0ofit & item 1ofit ) of ( "Y::site=" & name of site ofit & "::fixletid=" & id ofitas string & "::url=",
(
item 0 of it & "::size=" & item 1ofit & "::hash=" & item 2ofit & "::hashtype=sha256" ) whose ( length ofit > 64ANDitas uppercase does not contain "_CACHING_REQUIRED" ) of ( parenthesized parts 3of it, parenthesized parts 2of it, parenthesized parts 4ofit ) of matches ( regex "(prefetch \S+ sha1:\S{40} size:(\d+) (https*:\/\/\S+) sha256:(\S{64})|\s*add prefetch item name=\S+ sha1=\S{40} size=(\d+) url=(https*:\/\/\S+) sha256=(\S{64}))" ) of scripts of actions ofit ) of bes fixlets whose ( not custom flag ofitAND download size ofit!=0AND now - modification time ofit < 90 * day ANDexists applicable computers ofitANDexists scripts whose ( itas lowercase contains"prefetch" ) of actions ofit )
(item 0ofit & item 1ofit) of ("Y::site=" & name of site ofit & "::fixletid=" & id ofitas string & "::url=", (item 0 of it & "::size=" & item 1ofit & "::hash=" & item 2ofit & "::hashtype=sha256") whose(length ofit > 64ANDitas uppercase does not contain "_CACHING_REQUIRED") of (parenthesized parts 3of it, parenthesized parts 2of it, parenthesized parts 4ofit) of matches (regex "(prefetch \S+ sha1:\S{40} size:(\d+) (https*:\/\/\S+) sha256:(\S{64})|\s*add prefetch item name=\S+ sha1=\S{40} size=(\d+) url=(https*:\/\/\S+) sha256=(\S{64}))") of scripts of actions ofit) of bes fixlets whose(not custom flag ofitAND download size ofit!=0AND now - modification time ofit < 90 * day ANDexists applicable computers ofitANDexists scripts whose(itas lowercase contains"prefetch") of actions ofit)
exists ( lines whose ( itas string as lowercase contains" No ping event found within last 3 hours."as lowercase ) of files "C:\Bes\AzureADpasswordSync.txt" )
exists (lines whose (itas string as lowercase contains" No ping event found within last 3 hours."as lowercase) of files "C:\Bes\AzureADpasswordSync.txt")
exists ( service names of it, display name ofit ) whose ( item 0ofitas lowercase contains"ws_ftp"or item 1ofitas lowercase contains"ws_ftp" ) of all running services whose ( exists service name ofit )
exists (service names of it, display name ofit) whose (item 0ofitas lowercase contains"ws_ftp"or item 1ofitas lowercase contains"ws_ftp") of all running services whose (exists service name ofit)