Skip to content

Commit

Permalink
Update Invoke-CustomAppReliability.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
maurice-daly authored May 23, 2022
1 parent 25e526f commit c2aeffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Invoke-CustomAppReliability.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ $ComputerName = Get-ComputerInfo | Select-Object -ExpandProperty CsName
#region APPRELIABILITY

# Set Name of Log
$LogName = "ApplicationReliability"
$LogName = "AppReliability"

$ReliabilityPayload = @()
$ReliabilityEvents = Get-CimInstance win32_ReliabilityRecords | Where-Object { $_.EventIdentifier -match "1000|1002" -and $_.TimeGenerated -ge (Get-Date).AddHours(-24) }
Expand Down Expand Up @@ -230,4 +230,4 @@ if ($ReliabilityEventPayload.Count -ge 1) {
Write-Output $OutputMessage
Exit 0

#endregion script
#endregion script

0 comments on commit c2aeffa

Please sign in to comment.