Closed mdgrs-mei closed 1 year ago
Confirmed that AmsiNotifyOperation was the bottleneck and turning off the Real-time protection in the Windows Defender fixed the problem.
It's been reported in this issue: https://github.com/PowerShell/PowerShell/issues/19431
It runs smoothly on 7.2.9 but it is slow on 7.3.0 in my environment. Needs further investigation.