Twitter
-
Recent Posts
- Day-5 #TE14D5 is less than two weeks away!
- System Center News & Updates – 2014 M1
- Concerned about the merging of MMS with TechEd? Post your comments on Cameron Fuller’s blog!
- Count of instances of specific software registered with Add or Remove Programs – Wrong counts SCCM 2012
- System Center 2012 Configuration Manager (SCCM): Prevent automatic upgrade on deployment to device collection
Recent Comments
- SCCM – Controlling Application Supersedence – FoxDeploy.com on System Center 2012 Configuration Manager (SCCM): Prevent automatic upgrade on deployment to device collection
- SCCM SQL Queries Mega-Pack | automatizeblog on SCCM 2012 Poor Console Performance In Software Updates
- Automation Scripting PowerShell: Servicios, SSRS, etc « El TecnoBaúl de Kiquenet on PowerShell Script To Restart Service And Dependents
- Estopa on Because of an error in data encryption, this session will end
- Adding A Basic PowerShell recovery to a Monitor | Living with SCOM on PowerShell Script To Restart Service And Dependents
Archives
- May 2014
- February 2014
- October 2013
- August 2013
- June 2013
- May 2013
- January 2013
- August 2012
- December 2011
- April 2011
- February 2011
- December 2010
- October 2010
- June 2010
- March 2010
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- November 2008
- October 2008
- August 2008
- July 2008
- January 2008
- December 2007
Categories
Meta
Monthly Archives: October 2013
Concerned about the merging of MMS with TechEd? Post your comments on Cameron Fuller’s blog!
Are you an MMS original? Concerned about the merger of MMS and TechEd? You have someone that can champion your thoughts to the upper echelons of Microsoft’s System Center product groups, give your feedback on Cameron Fuller’s blog. http://blogs.catapultsystems.com/cfuller/archive/2013/10/30/mms-and-teched.aspx?id=607&List=52b49438-d7a8-4f25-91ea-392a6e92c57f&ItemID=607 Tweet
Count of instances of specific software registered with Add or Remove Programs – Wrong counts SCCM 2012
The problem with the query is that there can be multiple ProdID’s for the same DisplayName0, Publisher0, Version0 returned. So it counts them all, skewing the expected result. I fixed this by changing Count(ProdID0) to Count(Distinct arp.ResourceID) in the dataset… SELECT DisplayName0, COUNT(DISTINCT arp.ResourceID) AS ‘Count’, Publisher0, Version0, @CollID AS CollectionID FROM fn_rbac_Add_Remove_Programs(@UserSIDs) arp JOIN […]