Skip to content
SCCM Server Details with Roles SQL Custom Report for DP MP SUP

SCCM Server Details with Roles SQL Custom Report for DP MP SUP

Written By Anoop C Nair
Last Updated October 1, 2021
Posted In SCCM
SHARE

Let’s help you with the SCCM Server Details with Roles using SQL custom report. This is very important to get all server details if you have a large environment with 100s of DPs, Secondary servers, and MPs. Also, it’s very useful for SCCM central team.

I am very glad to share one Awesome report created by my former colleagues Robert Spinelli and XiaoDong Zhang. Here is that pretty cool query/report that can help you maintain the inventory of the SCCM hierarchy and can be used as a health check report.

This report will provide you with all the SCCM servers, and the site system roles enabled for all those remote site systems severs. Note that this is the reposting of the previous post. We have a lot of SQL queries available for the community, and some of them are listed below.

Where to check Site System Servers Details in SCCM Console

Well, it’s not a very easy process to get all these details from the SCCM console. You can follow the steps mentioned below to get the details manually.

Patch My PC

You can navigate to \Administration\Overview\Site Configuration\Servers and Site System Roles and select the site server or site system server to find out the roles enabled for that particular site system.

You can see all the roles associated with the primary server – Distribution Point, Management Point, Service Connection Point,

SCCM Server Details with Roles SQL Custom Report for DP MP SUP
SCCM Server Details with Roles SQL Custom Report for DP MP SUP

SCCM Server Details with Roles

You can get the details of the entire SCCM infra servers using this SQL query, and you can create the custom SCCM report using the RDL file uploaded into the GitHub repository.

SCCM Server Details with Roles SQL Custom Report for DP MP SUP

Download SQL Query for SCCM Server Infra Details Custom Report

I have uploaded this report to the GitHub repository to be useful to the community to improve it and amend it. You can try to add additional details to the SQL query.

Download SQL Query for SCCM Server Infra Details Custom Report
Download SQL Query for SCCM Server Infra Details Custom Report

Download – > Custom-Report-SCCM-Infra-Server-Details/Query for All SCCM Site Info.txt at main · AnoopCNair/Custom-Report-SCCM-Infra-Server-Details (github.com)

Download the RDL File for SCCM Server Details with Roles Custom Report

I have already uploaded the RDL file for the custom report to get the details about the SCCM servers. You can use the report builder to create the custom report using the RDP file below. More details -> SCCM Create Custom Report Using Report Builder.

Download the RDL file from -> Custom-Report-SCCM-Infra-Server-Details/SCCM Servers With Roles.rdl at main · AnoopCNair/Custom-Report-SCCM-Infra-Server-Details (github.com)

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 3 comments

  1. The PXE information looks not functionnal.
    Anyway, awesome job, it’s a very powerfull query !

    Thank you for the share

    1. StaffThank you for the report. I have not worked to modify this. This is one of the reasons the solution is in GitHub so that the community can contribute to enhancing it.

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read