PowerShell function testing if a SCOM ETL trace is running

The other day I needed a function which tells me if a SCOM ETL trace is currently running or not. I had some hard time to figure out a simple and reliable way testing this. With some great assistance from my Support colleagues Silvana Deac and Mihai Sarbulescu I finally found a way 🙂

The attached function test-customopsmgrtracerunning

  • does not require any parameter
  • returns $NULL if it cannot determine the Tools directory on an Agent or Management Server
  • returns $True if it finds loaded OpsMgrTrace ETL files -> Trace is running
  • returns $False if it does not find loaded OpsMgrTrace ETL files -> Trace is not running

The function in action:


Comments (2)
  1. devils r says:

    It was so nice article and useful to ETL Testing learners. We also provide ETL Testing course online training our It hub Online Training is leader in providing Software Training
    http://www.ithubonlinetraining.com/etl-testing-online-training/ ">ETL Testing Online Training

  2. Hi,
    Thank you for sharing this useful information.
    It is very useful to me and who are searching for ETL Testing online training .

Comments are closed.

Skip to main content