MicrosoftDocs / SCCMdocs

Configuration Manager documentation public repo
https://docs.microsoft.com/sccm/
Creative Commons Attribution 4.0 International
251 stars 362 forks source link

CMPIvot spawns multiple PowerShell scripts and high cpu usage. #2341

Open cp07451 opened 2 years ago

cp07451 commented 2 years ago

Not sure if its fluke but when running CMPivot with the following WinEvent('Security',1d) | where ID == 6422 | project Device, Message | distinct Device

spawned two or three PowerShell scripts. In addition the query consumes a large of CPU. Has anyone tried this against the security log? I can run the same item in PowerShell ISE and its considerably faster.