Skip to content

Commit 165a974

Browse files
Update Start-ScomETLTrace.ps1
Added more examples and updated some descriptions.
1 parent d8a74b1 commit 165a974

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Powershell/SCOM ETL Trace/Start-ScomETLTrace.ps1

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,20 @@
5353
A description of the NetworkTrace parameter.
5454
5555
.PARAMETER RestartSCOMServices
56-
If you want to restart the SCOM Services right after starting the ETL Trace.
56+
If you want to stop the SCOM Services / start the SCOM Services back up when the ETL Trace starts running.
5757
5858
.PARAMETER DetectOpsMgrEventID
5959
Detect in the Operations Manager Event Logs for an specific Event Id.
6060
6161
.PARAMETER SleepSeconds
62-
How often to wait between checks for Event Ids. Or use this switch to automate the ETL Trace.
62+
How often to wait between checks for Event Ids. Or how long to wait until Automatic stop.
6363
6464
.EXAMPLE
65+
Gather Verbose ETL Trace while detecting for Event ID 1210, sleep 60 seconds between each check for the Event ID.
6566
PS C:\> .\Start-ScomETLTrace.ps1 -VerboseTrace -DetectOpsMgrEventID 1210 -SleepSeconds 60
67+
68+
Gather ETL Trace with all the traces gathered by default, wait 300 seconds (5 minutes) and then automatically stop the ETL Trace and zip up the output folder:
69+
.\Start-ScomETLTrace.ps1 -SleepSeconds 300
6670
6771
.NOTES
6872
.AUTHOR
@@ -72,7 +76,7 @@
7276
September 3rd 2020
7377
7478
.MODIFIED
75-
June 11th, 2021
79+
July 19th, 2021
7680
#>
7781
[CmdletBinding()]
7882
[OutputType([string])]

0 commit comments

Comments
 (0)