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:
test-customopsmgrtracerunning.ps1
Comments
- Anonymous
December 18, 2015
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 Traininghttp://www.ithubonlinetraining.com/etl-testing-online-training/ ">ETL Testing Online Training - Anonymous
June 10, 2016
Hi,Thank you for sharing this useful information.It is very useful to me and who are searching for ETL Testing online training .