SMS SQL for Distribution Point Status and Package Views

Shows install status for a specific package on your distribution points. Replace package id '00000000' with your package ID.

----Begin SQL----
SELECT PCK.SourceSite, DPS.PackageID, PCK.Name, DPS.ServerNALPath,
DPS.InstallStatus
FROM v_PackageStatusDistPointsSumm DPS INNER JOIN v_Package PCK
ON DPS.PackageID = PCK.PackageID
Where PCK.PackageId = '00000000'
ORDER BY DPS.PackageID
----End SQL----

About the Author

Emmanuel Tsouris is a Systems Management veteran and Developer Advocate specializing in PowerShell and Cloud Automation. He maintains DotVBS to preserve legacy knowledge for the "archaeologist admin."

Ready to move from VBScript to the Cloud? Check out his book, Pro PowerShell for Amazon Web Services.

Visit EmmanuelTsouris.com for his latest projects.

As an Amazon Associate, I earn from qualifying purchases at no cost to you.

Comments

Popular posts from this blog

SMS "Program failed (run time exceeded)" 10070

SMS "Waiting for User Condition" 10036

Reading the SCCM Client GUID