From ae140d15741894f5f936bc4ebbb7efdd1f18c9f7 Mon Sep 17 00:00:00 2001 From: David Yoder Date: Mon, 18 Apr 2022 13:53:17 -0400 Subject: [PATCH] add process to terminate --- Fix-HighCPUUsage.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Fix-HighCPUUsage.ps1 b/Fix-HighCPUUsage.ps1 index 5fa05fd..75972d7 100644 --- a/Fix-HighCPUUsage.ps1 +++ b/Fix-HighCPUUsage.ps1 @@ -1,3 +1,3 @@ # Terminate known high CPU processes -Write-Output "Terminating all running instances of reg.exe and AgentPackageTaskManagement.exe" -'reg', 'AgentPackageTaskManagement' | ForEach-Object { Get-Process -Name $_ -ErrorAction SilentlyContinue | Stop-Process -Force } \ No newline at end of file +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 } \ No newline at end of file