Skip to content

Commit

Permalink
Merge pull request #2217 from microsoft/dpaul-ElcDev
Browse files Browse the repository at this point in the history
Add Script Execution Line
  • Loading branch information
dpaulson45 authored Nov 20, 2024
2 parents f0794a7 + 3698bc5 commit 37bd4ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Diagnostics/ExchangeLogCollector/ExchangeLogCollector.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ end {
$Script:Logger = Get-NewLoggerInstance -LogName "ExchangeLogCollector-Main-Debug" -LogDirectory ("$RootFilePath$env:COMPUTERNAME")
SetWriteVerboseAction ${Function:Write-DebugLog}
SetWriteHostAction ${Function:Write-DebugLog}
Write-Verbose "Script Execution Line: $($script:MyInvocation.Line)"

Main
} finally {
Expand Down

0 comments on commit 37bd4ad

Please sign in to comment.