vbs-ad-health-report
vbs-ad-health-report copied to clipboard
Error when running script
Hello,
I've run this script on a Windows 2016 & 2008 R2 DC and get the same error both times:
Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved.
C:\Users\username\Desktop\ADHealthCheck.vbs(269, 2) SWbemServicesEx: Not found
At that point the script dies. The only section I've modified is the email settings. Any suggestions?
Even I am getting the same error. Can you please help to resolve?
I was getting this error as well. My issue was that my DC's aren't running DNS, so when it tries to do the service status check, there is no service to check. Commenting out lines 142 and 161 fixed it for me.
I was getting this error as well. My issue was that my DC's aren't running DNS, so when it tries to do the service status check, there is no service to check. Commenting out lines 142 and 161 fixed it for me.
Same problem here. I don't think it's the DNS. I run it on a DC with DNS services etc. and returns the same problem.
Something else might be.