Files

3 lines
286 B
PowerShell
Raw Permalink Normal View History

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