Skip to content

Commit

Permalink
Update 🆕
Browse files Browse the repository at this point in the history
  • Loading branch information
blakedrumm authored Jun 30, 2023
1 parent 15715ea commit a08eff3
Showing 1 changed file with 32 additions and 23 deletions.
55 changes: 32 additions & 23 deletions Powershell/SCOM ETL Trace/Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![ETL Trace](/media/git-guidance/projects/etl_trace.png)

# Introduction
## :book: Introduction
This Tool will assist you in gathering ETL Traces. You have the options of selecting specific Tracing to gather with this script.

The script will perform the following, in this order:
Expand All @@ -16,26 +16,35 @@ The script will perform the following, in this order:
5. Formats ETL Trace
6. Zips Up Output and Opens Explorer Window for Viewing File

## Examples
Open Powershell Prompt as Administrator:
## All Available Commands
.\Start-ScomETLTrace.ps1 -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI -VerboseTrace -DebugTrace -NetworkTrace -SleepSeconds -RestartSCOMServices -DetectOpsMgrEventID

###### Get Verbose Native ETL Trace
.\Start-ScomETLTrace.ps1 -GetNative -VerboseTrace

###### Gather Verbose ETL Trace and detect for 1210 Event ID (Sleep for 30 Seconds between checks)
.\Start-ScomETLTrace.ps1 -VerboseTrace -DetectOpsMgrEventID 1210 -SleepSeconds 30
## How to get it
You can get a copy of the script here: \
[Start-ScomETLTrace.ps1](https://github.com/blakedrumm/SCOM-Scripts-and-SQL/blob/master/Powershell/SCOM%20ETL%20Trace/Start-ScomETLTrace.ps1) :arrow_left: **Direct Download Link** \
_or_ \
[Personal File Server - Start-ScomETLTrace.ps1](https://files.blakedrumm.com/Start-ScomETLTrace.ps1) :arrow_left: **Alternative Download Link** \
_or_ \
[Personal File Server - Start-ScomETLTrace.txt](https://files.blakedrumm.com/Start-ScomETLTrace.txt) :arrow_left: **Text Format Alternative Download Link**

###### Restart SCOM Services after starting an ETL Trace. Sleep for 2 Minutes and stop the Trace Automatically
.\Start-ScomETLTrace.ps1 -Sleep 120 -RestartSCOMServices

#### Get All ETL Traces
###### Get Verbose Tracing for all the Default Tracing Available (just like running this: -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI)
.\Start-ScomETLTrace.ps1 -VerboseTrace
###### Get Debug Tracing for all the Default Tracing Available (just like running this: -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI)
.\Start-ScomETLTrace.ps1 -DebugTrace
###### Get Verbose Tracing for all the Default Tracing Available and Network Tracing (just like running this: -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI)
.\Start-ScomETLTrace.ps1 -VerboseTrace -NetworkTrace
##### Get Verbose Tracing for all the Default Tracing Available and OpsMgrModuleLogging for Linux Related Issues
.\Start-ScomETLTrace.ps1 -VerboseTrace -OpsMgrModuleLogging
## :page_with_curl: How to use it
Open Powershell Prompt as Administrator:
>#### Examples
>##### All Available Commands
>`.\Start-ScomETLTrace.ps1 -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI -VerboseTrace -DebugTrace -NetworkTrace -SleepSeconds -RestartSCOMServices -DetectOpsMgrEventID`
>
>###### Get Verbose Native ETL Trace
>`.\Start-ScomETLTrace.ps1 -GetNative -VerboseTrace`
>
>###### Gather Verbose ETL Trace and detect for 1210 Event ID (Sleep for 30 Seconds between checks)
>`.\Start-ScomETLTrace.ps1 -VerboseTrace -DetectOpsMgrEventID 1210 -SleepSeconds 30`
>
>###### Restart SCOM Services after starting an ETL Trace. Sleep for 2 Minutes and stop the Trace Automatically
>`.\Start-ScomETLTrace.ps1 -Sleep 120 -RestartSCOMServices`
>
>#### Get All ETL Traces
>###### Get Verbose Tracing for all the Default Tracing Available (just like running this: -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI)
>`.\Start-ScomETLTrace.ps1 -VerboseTrace`
>###### Get Debug Tracing for all the Default Tracing Available (just like running this: -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI)
>`.\Start-ScomETLTrace.ps1 -DebugTrace`
>###### Get Verbose Tracing for all the Default Tracing Available and Network Tracing (just like running this: -GetAdvisor -GetApmConnector -GetBID -GetConfigService -GetDAS -GetFailover -GetManaged -GetNASM -GetNative -GetScript -GetUI)
>`.\Start-ScomETLTrace.ps1 -VerboseTrace -NetworkTrace`
>###### Get Verbose Tracing for all the Default Tracing Available and OpsMgrModuleLogging for Linux Related Issues
>`.\Start-ScomETLTrace.ps1 -VerboseTrace -OpsMgrModuleLogging`

0 comments on commit a08eff3

Please sign in to comment.