Report for all deployments

Algkindom 180 Reputation points
2023-05-16T13:20:33.68+00:00

I wold like to get a report with all deployments for each device, it's better to get the deployment status too.

Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 46,291 Reputation points Microsoft Vendor
    2023-05-17T02:12:19.91+00:00

    Hi, @Algkindom

    Thank you for posting in Microsoft Q&A forum.

    Here is an example to get all deployed programs and status:

    
    SELECT SYS.Netbios_Name0, ADV.AdvertisementID, ADV.AdvertisementName, 
        COL.Name AS TargetedCollection, CAS.LastStatusMessageIDName 
        FROM v_ClientAdvertisementStatus CAS INNER JOIN v_R_System SYS 
        ON CAS.ResourceID = SYS.ResourceID INNER JOIN v_Advertisement ADV 
        ON CAS.AdvertisementID = ADV.AdvertisementID INNER JOIN 
        v_Collection COL ON ADV.CollectionID = COL.CollectionID 
        ORDER BY SYS.Netbios_Name0, ADV.AdvertisementID
    
    
    

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".

    0 comments No comments

0 additional answers

Sort by: Most 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.