Skip to content

Commit

Permalink
Clean log file
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgn committed Feb 26, 2024
1 parent 7878252 commit e944dad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PingCastle-Notify.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ try {
$log = $BodyTeams
$log = $log + $final_thread
$log = $log.Replace("*","").Replace(":large_green_circle:","").Replace(":large_orange_circle:","").Replace(":large_yellow_circle:","").Replace(":red_circle:","").Replace(":heavy_exclamation_mark:","!").Replace(":white_check_mark:","-").Replace(":arrow_forward:",">").Replace(":tada:","")
$log = $log.Replace("{","").Replace(" text:'","").Replace("🥳","")
$log | out-file -append $logreport

$log
Expand Down

0 comments on commit e944dad

Please sign in to comment.