From 0943bb28329b839669f36e66451df33ec8a0c285 Mon Sep 17 00:00:00 2001 From: Chris McGurk <42873388+chrismcgurk@users.noreply.github.com> Date: Fri, 20 Oct 2023 15:09:36 -0500 Subject: [PATCH 1/2] Update ExTRA.ps1 Add example command for deleting a previously existing data collector set - this will be an issue if tracing has been run previously on the server. --- Diagnostics/ExTRA/ExTRA.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Diagnostics/ExTRA/ExTRA.ps1 b/Diagnostics/ExTRA/ExTRA.ps1 index 924e5b40f8..692d1a828b 100644 --- a/Diagnostics/ExTRA/ExTRA.ps1 +++ b/Diagnostics/ExTRA/ExTRA.ps1 @@ -8,7 +8,11 @@ param( . $PSScriptRoot\GetTagsFromFileContent.ps1 function ShowCommandToHost { - Write-Host "The trace can be created, started, and stopped from the command line or PowerShell" + Write-Host "The trace can be created, deleted, started, and stopped from the command line or PowerShell" + Write-Host + Write-Host "To delete a previously created data collector set:" + Write-Host + Write-Host "logman delete ExchangeDebugTraces" -ForegroundColor Green Write-Host Write-Host "To create a data collector which is non-circular and stops at 1 GB:" Write-Host From 37c6f013c347ffd01299c8417157383c7ea7d2f8 Mon Sep 17 00:00:00 2001 From: Chris McGurk <42873388+chrismcgurk@users.noreply.github.com> Date: Fri, 20 Oct 2023 15:25:21 -0500 Subject: [PATCH 2/2] Update ui.html Add command for deleting an existing data collector set if one exists. --- Diagnostics/ExTRA/ui.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Diagnostics/ExTRA/ui.html b/Diagnostics/ExTRA/ui.html index c13921a365..5c9b122fa8 100644 --- a/Diagnostics/ExTRA/ui.html +++ b/Diagnostics/ExTRA/ui.html @@ -89,7 +89,11 @@
Tags
- \ No newline at end of file +