Monitor for .err file creation in a specific directory
Does anyone know if it's possible to get SCOM to monitor a certain directory and then alert if a .err extension file is created there? If so, are there any instructions you might be able to provide or resources to point me to? I tried
searching but wasn't having too much luck. Any assistance would be appreciated!
February 20th, 2015 6:31pm
Hi,
I would like to suggest you create a monitor based on powershell script which can be used to test existance of .err file in a specific directory. The below command can be used to check .err extension existance under D:\specific directory
Test-Path "D:\specific directory\*.err"
Regards,
Yan Li
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2015 5:23am