SCCM Current Branch 1806 is loaded with amazing features. In this post, we will cover the latest addition in the reporting space: CMPivot. SCCM has always been good with reporting and inventory of it’s managed devices but SCCM data is up-to-date at the last time the inventory has been run. SCCM CMPivot allows SCCM administrators to initiate a live query on selected computers on a specific topic. The result of that query can then be used to mitigate and fix potential issues.
How many time were you asked “what is the current state as of NOW?” well, you’ll finally be able to answer appropriately with SCCM CMPivot.
In this post, we will covert how to use CMPivot to create a basic query and how to use the result of this query.
CMPivot can leverage the power of the Cloud Management Gateway. Doesn’t seems like any limitation are documented so far.

The first step is to select a computer collection to run CMPivot against those computers. We will select our All Server Clients collection. In our example, we will query the computer to have information about their Operating System version.



Only one CMPivot targeting a collection can be executed at a time by the SCCM console.



Run query will take time. Remember this is a live query against online computers, including computers connected to the Cloud Management Gateway

From Microsoft : ” CMPivot uses a subset of the Azure Log Analytics data flow model for the tabular expression statement. The typical structure of a tabular expression statement is a composition of client entities and tabular data operators (such as filters and projections). The composition is represented by the pipe character (|), giving the statement a very regular form that visually represents the flow of tabular data from left to right. Each operator accepts a tabular data set “from the pipe”, and additional inputs (including other tabular data sets) from the body of the operator, then emits a tabular data set to the next operator that follows: entity | operator1 | operator2 | …”






This feature is brand new and we have yet to found a real-world scenario that requires this. We’ll update this post when we have some interesting queries.
Do you have a great query that could help other SCCM administrators out there? Share it in the comments below!
More details and examples available on Microsoft Docs
[ratings]
Please fill out the form, and one of our representatives will contact you in Less Than 24 Hours. We are open from Monday to Friday.
Thank you for subscribing to our newsletter or requesting a quote. You will receive our next month's newsletter. If you have requested a quote, we will get in touch with you as soon as possible.
Something went wrong!
Thank for your reply!