You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Powershell/Start-ScomETLTrace.ps1
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -346,15 +346,15 @@ exit 0
346
346
}
347
347
do
348
348
{
349
-
if ($VerboseTrace-eq""-or$DebugTrace-eq"")
349
+
if (!$VerboseTrace-and!$DebugTrace)
350
350
{
351
351
$answer=Read-Host-Prompt "Would you like to perform a Verbose or Debug Trace? (V/D)"
352
352
}
353
-
elseif ($null-ne$VerboseTrace)
353
+
if ($VerboseTrace)
354
354
{
355
355
$answer="verbose"
356
356
}
357
-
elseif ($null-ne$DebugTrace)
357
+
elseif (""-ne$DebugTrace)
358
358
{
359
359
$answer="debug"
360
360
}
@@ -542,9 +542,9 @@ exit 0
542
542
543
543
C:\Windows\explorer.exe"/select,$destfile"
544
544
}
545
-
if (($GetAdvisor-or$GetAPM-or$GetApmConnector-or$GetBID-or$GetConfigService-or$GetDAS-or$GetFailover-or$GetManaged-or$GetNASM-or$GetNative-or$GetScript-or$GetUI))
545
+
if (($GetAdvisor-or$GetAPM-or$GetApmConnector-or$GetBID-or$GetConfigService-or$GetDAS-or$GetFailover-or$GetManaged-or$GetNASM-or$GetNative-or$GetScript-or$GetUI-or$VerboseTrace-or$DebugTrace))
0 commit comments