CIM Sessions
summary
CIM cmdlets replace many older WMI patterns by using CIM sessions over WSMan or DCOM to run WMI queries remotely, reuse connections, and accept alternate credentials even for local targets. Shows use of cbxml modules to expose classes, compares WSMAN vs DCOM behavior, and demonstrates session options (SSL, impersonation, auth levels). Notes sessions can survive reboots over WSMan, claims noticeable speedups in some workloads, and gives concrete commands to create, reuse and remove sessions.
AI-written summary · about
chapters (14)
- 0:00CIM Sessions intro
- 1:10CIM and WMI in PowerShell
- 2:36Exploring WMI classes
- 5:45WMI associations
- 7:53New CIM sessions
- 9:02CBXML files benefits
- 12:12CIM session SSL options
- 13:52Demo: restart machine via CIM
- 15:30Default CIM sessions
- 16:35CIM session filtering oddities
- 19:10Stateful vs stateless sessions
- 20:58Get-CimInstance vs Get-WmiObject
- 22:30Local machine access with CIM
- 24:13Closing remarks & Q&A
related talks
42mThe Seven Secrets of CIM
26mSuperpowers for Windows Containers
48mWindows Subsystem for Linux Your enterprise ready multitool
15mLinux Sessions for Monitoring and Reviewing Linux Workloads
33mSimplifying Microsoft Architectures with AWS Services
31mHMSDK: Enhancing Software Support for CXL Memory
59mCross-Platform Pitfalls and How to Avoid Them
25mThe Windows Subsystem for Linux
