May 02 2022 09:59 AM - edited May 02 2022 10:14 AM
Hi,
I need a dynamic collection for an update that fails with error 0x800F080F(-2146498545). I cannot find a WQL attribute class that will help me identify computers with this failure. No problem with a SQL query but I cannot figure out how to match the SQL views to attribute classes.
If someone could point out some attribute classes to look at, that would be appreciated. When I figure this out, I will post the solution that works.
Thank you!
Rob
May 04 2022 11:09 PM
@robmo This is not an officially supported method but you can get details using this method.
SQL query to WQL and WQL Query to SQL using https://www.anoopcnair.com/convert-wql-queries-to-sql-queries-using-sccm/
The best-recommended way to get the mapping my experience is using SCCM resource explorer as explained in one of the dynamic collection creation posts.
Example Try to get the mapping tip from resource explorer and build query based on that - How to Create SCCM Collection for Windows 11 Upgrade Compatible Devices.
May 05 2022 12:02 AM
Maybe with an Configuration Baseline (Item - Script) and from Deployment - create New Collection - Non-compliant...
https://devblogs.microsoft.com/scripting/use-powershell-to-easily-find-information-about-hotfixes/
$val = gwmi -cl win32_reliabilityRecords -filter "sourcename = 'Microsoft-Windows-WindowsUpdateClient'" | where { $_.message -match '0x800F080F' }
if ($val -eq 0)
{
$Compliant = $true
}
if ($val -ne 0)
{
$Compliant = $false
}
$Compliant
Regards, G.
May 05 2022 03:34 AM
SolutionMay 05 2022 08:17 AM
May 05 2022 03:34 AM
Solution