( ( concatenation ", "of ( it & ": " ) of ( selects "Details/Detail/Value"ofitas text ) ) & select "Description"ofitas text ) of selects "/EnergyReport/Troubleshooter/AnalysisLog/LogEntry[Severity='Error']"of xml document of file "energy-report.xml"of folder "temp"of windows folder
((concatenation ", "of (it & ": ") of (selects "Details/Detail/Value"ofitas text)) & select "Description"ofitas text) of selects "/EnergyReport/Troubleshooter/AnalysisLog/LogEntry[Severity='Error']"of xml document of file "energy-report.xml"of folder "temp"of windows folder
unique values of ( ( concatenation ", "of ( it & ": " ) of ( selects "Details/Detail/Value"ofitas text ) ) & select "Description"ofitas text ) of selects "/EnergyReport/Troubleshooter/AnalysisLog/LogEntry[Severity='Warning']"of xml document of file "energy-report.xml"of folder "temp"of windows folder
unique values of ((concatenation ", "of (it & ": ") of (selects "Details/Detail/Value"ofitas text)) & select "Description"ofitas text) of selects "/EnergyReport/Troubleshooter/AnalysisLog/LogEntry[Severity='Warning']"of xml document of file "energy-report.xml"of folder "temp"of windows folder
( unique values of ( ( first match ( regex "KB\d{7}" ) ofit | "" ) of ( ( names of ( keys of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages"of native registry ) whose ( name ofitcontains"KB" ) ) ; ( string value of property "HotFixID"ofit ) of ( select objects "HotFixID, Description from Win32_QuickFixEngineering"of wmi ) ; ( ( ( values ofit ) whose ( name ofit is "DisplayName" ) ) of ( keys ofit ) of ( ( keys ofit ) whose ( name ofit is "Patches" ) ) of ( keys of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products"of native registry ) ) as string ) ) ) whose ( it is not"" )
(unique values of ((first match (regex "KB\d{7}") ofit | "") of ((names of (keys of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages"of native registry) whose (name ofitcontains"KB"));(string value of property "HotFixID"ofit) of (select objects "HotFixID, Description from Win32_QuickFixEngineering"of wmi);(((values ofit) whose (name ofit is "DisplayName")) of (keys ofit) of ((keys ofit) whose (name ofit is "Patches")) of (keys of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products"of native registry)) as string))) whose (it is not"")
IF ( name of operating system contains"Win8" ) THEN ( ( ( ( service pack major version ofit=0 ) AND ( version ofit="6.2" ) ) of operating system ) OR ( IF ( version of operating system ="6.3" ) THEN ( IF ( version of operating system ="6.3.9600" ) THEN ( IF ( exists ( string values of selects "HotFixID from win32_quickfixengineering where Description = 'Hotfix'"of wmi ) whose ( itcontains"KB2919355" ) ) THEN ( ( date ( local time zone ) of ( now ) ) > date ( "Tue, 10 Jan 2023" ) ) ELSEfalse ) ELSEfalse ) ELSEfalse ) ) ELSEfalse
IF (name of operating system contains"Win8") THEN ((((service pack major version ofit=0) AND (version ofit="6.2")) of operating system) OR (IF (version of operating system ="6.3") THEN (IF (version of operating system ="6.3.9600") THEN (IF (exists (string values of selects "HotFixID from win32_quickfixengineering where Description = 'Hotfix'"of wmi) whose (itcontains"KB2919355")) THEN ((date (local time zone) of (now)) > date ("Tue, 10 Jan 2023")) ELSEfalse) ELSEfalse) ELSEfalse)) ELSEfalse
( description ofit , ( link speed ofit / 1000 / 1000 ) ) whose ( ( itas string as lowercase contains"ether"ORitas string as lowercase contains"wi" ) AND ( itas string as lowercase does not contain "vethernet"ANDitas string as lowercase does not contain "loopback"ANDitas string as lowercase does not contain "virtual"ANDitas string as lowercase does not contain "vmware"ANDitas string as lowercase does not contain "bluetooth"ANDitas string as lowercase does not contain "cisco" ) ) of adapters whose ( up ofitANDNOT loopback ofit ) of networks
( description ofit , ( link speed ofit / 1000 / 1000 ) ) whose ( ( itas string as lowercase contains"ether"ORitas string as lowercase contains"wi" ) AND (itas string as lowercase does not contain "vethernet"ANDitas string as lowercase does not contain "loopback"ANDitas string as lowercase does not contain "virtual"ANDitas string as lowercase does not contain "vmware"ANDitas string as lowercase does not contain "bluetooth"ANDitas string as lowercase does not contain "cisco" ) ) of adapters whose ( up ofitANDNOT loopback ofit ) of networks
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')"of wmi
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and not (Name LIKE '%25ESU%25')"of wmi
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU%25')"of wmi | "No ESU License"
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU%25')"of wmi | "No ESU License"
( ( ( if ( ( value of keys "name"ofit ) as string ) contains"__MSG_"then ( values of keys "message"of values of keys ( ( parenthesized part 1of ( matches ( regex "__msg_(.*)__" ) of ( itas string as lowercase ) of values ofit ) ) of keys "name"ofit ) ofit ) else ( values of keys "name"ofit ) ) of jsons of ( concatenation ""of ( preceding text of last "}"of ( jsons of concatenations "%22__MSG_messages_name__%22"of substrings separated by "%22__MSG_name__%22"of ( itas string ) of jsons of files "manifest.json"ofitas string ) ; ( if ( exists files "messages.json"of folders whose ( name ofitas lowercase is "en_us" ) of folders "_locales"ofit ) then ( ","&following text of first "{"of ( jsons of concatenations "%22messages_name%22"of substrings separated by "%22name%22"of ( itas string ) of jsons of files "messages.json"of folders whose ( name ofitas lowercase is "en_us" ) of folders "_locales"ofitas string as lowercase ) ) else ( if ( exists files "messages.json"of folders whose ( name ofitas lowercase is "en" ) of folders "_locales"ofit ) then ( ","&following text of first "{"of ( jsons of concatenations "%22messages_name%22"of substrings separated by "%22name%22"of ( itas string ) of jsons of files "messages.json"of folders whose ( name ofitas lowercase is "en" ) of folders "_locales"ofitas string as lowercase ) ) else ( "}" ) ) ) ) ) , ( if ( ( value of keys "description"ofit ) as string ) contains"__MSG_"then ( values of keys "message"of values of keys ( ( parenthesized part 1of ( matches ( regex "__msg_(.*)__" ) of ( itas string as lowercase ) of values ofit ) ) of keys "description"ofit ) ofit ) else ( values of keys "description"ofit ) ) of jsons of ( concatenation ""of ( preceding text of last "}"of ( jsons of concatenations "%22__MSG_messages_desc__%22"of substrings separated by "%22__MSG_description__%22"of ( itas string ) of jsons of files "manifest.json"ofitas string ) ; ( if ( exists files "messages.json"of folders whose ( name ofitas lowercase is "en_us" ) of folders "_locales"ofit ) then ( ","&following text of first "{"of ( jsons of concatenations "%22messages_desc%22"of substrings separated by "%22description%22"of ( itas string ) of jsons of files "messages.json"of folders whose ( name ofitas lowercase is "en_us" ) of folders "_locales"ofitas string as lowercase ) ) else ( if ( exists files "messages.json"of folders whose ( name ofitas lowercase is "en" ) of folders "_locales"ofit ) then ( ","&following text of first "{"of ( jsons of concatenations "%22messages_desc%22"of substrings separated by "%22description%22"of ( itas string ) of jsons of files "messages.json"of folders whose ( name ofitas lowercase is "en" ) of folders "_locales"ofitas string as lowercase ) ) else ( "}" ) ) ) ) ) ,pathnames ofit ) of folders of folders of folders "Extensions"of folders of ( ( folders "google-chrome"of folders of folders "/home" ) ; ( folders "Library/Application Support/Google/Chrome"of folders of folders "/Users" ) ; ( folders "AppData\Local\Google\Chrome\User Data"of folders of folders ( "C:\Users"; "C:\Documents and Settings" ) ) ; ( folders "AppData\Local\Microsoft\Edge\User Data"of folders of folders ( "C:\Users"; "C:\Documents and Settings" ) ) ; ( folders "AppData\Roaming\Opera Software"of folders of folders ( "C:\Users"; "C:\Documents and Settings" ) ) ) )
(((if ((value of keys "name"ofit) as string) contains"__MSG_"then (values of keys "message"of values of keys ((parenthesized part 1of (matches (regex "__msg_(.*)__") of (itas string as lowercase) of values ofit)) of keys "name"ofit) ofit) else (values of keys "name"ofit)) of jsons of (concatenation ""of (preceding text of last "}"of (jsons of concatenations "%22__MSG_messages_name__%22"of substrings separated by "%22__MSG_name__%22"of (itas string) of jsons of files "manifest.json"ofitas string);(if (exists files "messages.json"of folders whose (name ofitas lowercase is "en_us") of folders "_locales"ofit) then (","&following text of first "{"of (jsons of concatenations "%22messages_name%22"of substrings separated by "%22name%22"of (itas string) of jsons of files "messages.json"of folders whose (name ofitas lowercase is "en_us") of folders "_locales"ofitas string as lowercase)) else (if (exists files "messages.json"of folders whose (name ofitas lowercase is "en") of folders "_locales"ofit) then (","&following text of first "{"of (jsons of concatenations "%22messages_name%22"of substrings separated by "%22name%22"of (itas string) of jsons of files "messages.json"of folders whose (name ofitas lowercase is "en") of folders "_locales"ofitas string as lowercase)) else ("}"))))),(if ((value of keys "description"ofit) as string) contains"__MSG_"then (values of keys "message"of values of keys ((parenthesized part 1of (matches (regex "__msg_(.*)__") of (itas string as lowercase) of values ofit)) of keys "description"ofit) ofit) else (values of keys "description"ofit)) of jsons of (concatenation ""of (preceding text of last "}"of (jsons of concatenations "%22__MSG_messages_desc__%22"of substrings separated by "%22__MSG_description__%22"of (itas string) of jsons of files "manifest.json"ofitas string);(if (exists files "messages.json"of folders whose (name ofitas lowercase is "en_us") of folders "_locales"ofit) then (","&following text of first "{"of (jsons of concatenations "%22messages_desc%22"of substrings separated by "%22description%22"of (itas string) of jsons of files "messages.json"of folders whose (name ofitas lowercase is "en_us") of folders "_locales"ofitas string as lowercase)) else (if (exists files "messages.json"of folders whose (name ofitas lowercase is "en") of folders "_locales"ofit) then (","&following text of first "{"of (jsons of concatenations "%22messages_desc%22"of substrings separated by "%22description%22"of (itas string) of jsons of files "messages.json"of folders whose (name ofitas lowercase is "en") of folders "_locales"ofitas string as lowercase)) else ("}"))))),pathnames ofit) of folders of folders of folders "Extensions"of folders of ((folders "google-chrome"of folders of folders "/home") ; (folders "Library/Application Support/Google/Chrome"of folders of folders "/Users") ; (folders "AppData\Local\Google\Chrome\User Data"of folders of folders ("C:\Users"; "C:\Documents and Settings")) ; (folders "AppData\Local\Microsoft\Edge\User Data"of folders of folders ("C:\Users"; "C:\Documents and Settings")) ; (folders "AppData\Roaming\Opera Software"of folders of folders ("C:\Users"; "C:\Documents and Settings"))))
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU-Year1%25')"of wmi | "No ESU License"
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU-Year1%25')"of wmi | "No ESU License"
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU-Year2%25')"of wmi | "No ESU License"
string value of select "Description from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name LIKE 'Windows(R)%25' or Name LIKE 'Windows Server(R)%25') and (Name LIKE '%25ESU-Year2%25')"of wmi | "No ESU License"
( concatenations " - "of string values of ( property "HotFixID"ofit ; property "Description"ofit ; property "InstalledOn"ofit ) ofit ) ofitwhose ( 365 * day >= ( ( current date - it ) of ( itas date ) of ( ( ( itas integer as string ) of preceding text of last "/"of following text of first "/"ofit ) & " " & ( preceding text of first "/"ofitas integer as month as three letters ) & " " & ( following text of last "/"ofitas integer as string ) ) of string value of property "InstalledOn"ofit ) ) of select objects "HotFixID,Description,InstalledOn from Win32_QuickFixEngineering"of wmis
(concatenations " - "of string values of ( property "HotFixID"ofit ; property "Description"ofit ; property "InstalledOn"ofit ) ofit) ofitwhose( 365 * day >= ( (current date - it) of (itas date) of ( ((itas integer as string) of preceding text of last "/"of following text of first "/"ofit ) & " " & (preceding text of first "/"ofitas integer as month as three letters) & " " & (following text of last "/"ofitas integer as string)) of string value of property "InstalledOn"ofit) ) of select objects "HotFixID,Description,InstalledOn from Win32_QuickFixEngineering"of wmis
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"