Using CMPivot in SCCM for Real-Time Data and Taking Real-Time Action Using Scripts

preview_player
Показать описание
In this #SCCM video guide, we will be reviewing how you can use CMPivot to real-time query devices in SCCM and take action using Scripts.

CMPivot is a new in-console utility that now provides access to real-time state of devices in your environment. It immediately runs a query on all currently connected devices in the target collection and returns the results. Then filter and group this data in the tool. By providing real-time data from online clients, you can more quickly answer business questions, troubleshoot issues, and respond to security incidents. (From MS Docs)

Introduction – (0:00)
A quick overview of CMPivot – (1:35)
CMPivot operators in Kusto – (3:39)
Running CMPivot against a collection – (4:13)
Query InstalledSoftware, Filter to Google Chrome, Add version filter, list in piechart – (5:53)
Query local Administrators – (10:49)
Query 32-bit operating systems – (11:54)
Query running process – (13:06)
Query where SMB1 is enabled – (13:33)
Query AutoStartSoftware where it’s from the user registry, and a specific startup process name – (14:38)
Review pre-built scripts we will use to take action on CMPivot results – (16:06)
Use CMPivot registry query to find where the EnableJavaUpdate registry value = 1 then use a Script to set the EnableJavaUpdate value to 0 – (16:28)
Review the process flow for CMPivot queries and scripts – (19:10)
Query where the Google Homepage RegValue != to an expected homepage value and use a script to set the Google Homepage to the expected value – (22:23)
Query all Java 8 Installations, exclude (64-bit) Java 8 installations, run scripts to uninstall all Java 8 (32-bit installations) – (29:44)

#ConfigMgr #PatchMyPC
Рекомендации по теме
Комментарии
Автор

Great material for insights into CMPivot. Thanks Justin!

Shizdenn
Автор

Thank you for continuing SCCM series !!!! I look forward to them

TheMunzie
Автор

Perfectly explained! thank you for this

francydevicemanagement
Автор

Ty Sir. I have been waiting for this video

M.J.C.W.
Автор

Thanks a lot. I was waiting for this:)

kshitijjgulati
Автор

Thanks for the video. Great your making some new ones now. Please bring them back. So you created a qurey Administrators | where PrincipalSource == 'local' is there a way to get it for only windows 10 devices

imranawan
Автор

How to do export the dcount. i export but the result no taking the dcount. (script i running--> InstalledSoftware | summarize dcount( Device ) by ProductName)

jesseted
Автор

when i give a installedSoftware query it shows only microsoft application sir it didnt show all the application what to do sir

soundarya
Автор

Our PS execution policy is set to All Signed, does it mean that I won't be able to use CMPivot? It fails with Unsupported PS Version error.

olegproscurchin
Автор

Can you help me with the SQL query in which I want to know each devices connected on a laptop

vinodpandit
Автор

Can you please provide the scripts if possible

vinodpandit
Автор

Where are all your awesome scripts. Trying to clean up old versions of software sucks without gathering all the awful product codes or calling for dangerous WMI uninstall commands.

JLRlS