SQL Query for Fetching SSCM's Software Update Detailed Report

Swahela Mulla 95 Reputation points
2023-07-31T09:43:12.2533333+00:00

Hello Everyone,

I am looking for assistance in crafting an SQL query to fetch a detailed report on software updates using SSCM (System Center Configuration Manager). I need the following columns in the result:

·       Device Name

·       Patch/Software Updates

·       Patch Status (e.g., Installed, Failed, In Progress)

·       Collection ID

·       OS Name

If there are additional fields available, I'd appreciate including them in the query.

I've been struggling with this query, and any guidance or examples would be greatly appreciated.

Thank you in advance for your help!

Microsoft 365 and Office Install, redeem, activate For business Windows
Windows for business Windows Server User experience PowerShell
Microsoft Security Intune Configuration Manager Other
SQL Server Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Garth 5,801 Reputation points
    2023-07-31T10:32:07.5066667+00:00

    What is wrong with the built-in reports? What do you have for a query now? What isn't working with it? Have you looked at the docs? https://learn.microsoft.com/en-us/mem/configmgr/develop/core/understand/sqlviews/sql-server-views-configuration-manager

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.