Files
management-scripts/Fix-HighCPUUsage.ps1
T

3 lines
261 B
PowerShell
Raw Normal View History

2022-04-14 14:16:38 -04:00
# Terminate known high CPU processes
2022-04-14 15:04:11 -04:00
Write-Output "Terminating all running instances of reg.exe and AgentPackageTaskManagement.exe"
2022-04-14 14:17:07 -04:00
'reg', 'AgentPackageTaskManagement' | ForEach-Object { Get-Process -Name $_ -ErrorAction SilentlyContinue | Stop-Process -Force }