File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ LogRaw "
9696/_______ /\_____\ \_/|_______ \|____| |__| (____ / \___ >\___ >
9797 \/ \__> \/ \/ \/ \/
9898
99- SQLTrace.ps1 version 1.0.0167 .0
99+ SQLTrace.ps1 version 1.0.0171 .0
100100 by the Microsoft SQL Server Networking Team
101101"
102102
@@ -422,12 +422,12 @@ Function StartTraces
422422
423423 # StopAfter logic
424424
425- if ($global : StopAfter -gt 0 )
425+ if ($StopAfter -gt 0 )
426426 {
427- $global :StopAfterMinutes = $global : StopAfter
427+ $global :StopAfterMinutes = $StopAfter
428428 while ($global :StopAfterMinutes -gt 0 )
429429 {
430- LogInfo " The trace will stop after $ ( $global :StopAfterMinutes ) minutes."
430+ LogInfo " The trace will automatically stop in $ ( $global :StopAfterMinutes ) minutes."
431431 Start-Sleep - Seconds 60
432432 $global :StopAfterMinutes --
433433 }
You can’t perform that action at this time.
0 commit comments