SQL Query
To do this, you will need a script to create your report. You can modify this script if you like for your own needs or just use as is:select UPPER (SUBSTRING(PSD.ServerNALPath,13,CHARINDEX(‘.’, PSd.ServerNALPath) -13)) AS [DP Name], count(*) [Targeted] , count(CASE when PSD.State=’0′ then ‘*’ END) AS ‘Installed’, count(CASE when PSD.State not in (‘0’) then ‘*’ END) AS ‘Not Installed’, round((CAST(SUM (CASE WHEN PSD.State=’0′ THEN 1 ELSE 0 END) as float)/COUNT(psd.PackageID ) )*100,2) as ‘Success%’, psd.SiteCode [Reporting Site] From v_PackageStatusDistPointsSumm psd,SMSPackages P where p.PackageType!=4 and (p.PkgID=psd.PackageID) group by PSd.ServerNALPath,psd.SiteCode
Feedback
If you have any questions or comments on this, please feel free to use our comments section below.Gear We Recommend
Testing configs is easier with a dedicated admin machine set up right. Here’s the kit we use.
Browse our Windows Admin Toolkit picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.