Skip to content

Commit

Permalink
Add new script 📜
Browse files Browse the repository at this point in the history
  • Loading branch information
blakedrumm authored Sep 13, 2023
1 parent fd4ce04 commit 9d8eca1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Powershell/Recreate-HealthServiceEventLogs.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Author: Blake Drumm (blakedrumm@microsoft.com)
# Date Created: September 13th, 2023
#
# Recreate the HealthService Event Log into the OperationsManager Event Log. There is an issue with the HealthService in some cases going into the Application Event Log.
Get-Item "HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\HealthService" -ErrorAction SilentlyContinue | Remove-Item -Recurse -Force; Restart-Service HealthService -Force

0 comments on commit 9d8eca1

Please sign in to comment.