SCCM SQL Query to get task sequence deloyment

Boopathi S 3,866 Reputation points
2023-07-21T10:29:48.3+00:00

Hello,

Please provide a SCCM SQL query to get the report of a task sequence deployment to a collection with all the status [Waiting, Failed, Accepted, Running, No Status, Retrying, Cancelled and Succeeded]

Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Simon Ren-MSFT 40,376 Reputation points Microsoft External Staff
    2023-07-24T07:48:36.8733333+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    Below built-in reports will help and they are listed under the Task Sequence - Deployment Status category.

    Status summary of a specific task sequence deployment

    All system resources for a task sequence deployment in a specific state

    task sequence status

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Garth 5,801 Reputation points
    2023-07-21T13:00:05.8933333+00:00

    Have you looked at the built-in reports?

    If you don't like them you can created your own, all the supported SQL views are listed in the docs site. https://learn.microsoft.com/en-us/mem/configmgr/develop/core/understand/sqlviews/sql-server-views-configuration-manager

    1 person found this answer helpful.
    0 comments No comments

Your answer

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