GithubHelp home page GithubHelp logo

aikoncwd / vbs-ad-health-report Goto Github PK

View Code? Open in Web Editor NEW
110.0 110.0 27.0 32 KB

VBS Script that check's your Active Directory Health status and report to e-mail

License: MIT License

Visual Basic 100.00%

vbs-ad-health-report's People

Contributors

aikoncwd avatar dasjoe avatar jeremiahfelt avatar nicknomo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vbs-ad-health-report's Issues

Multiple domains

How can I modify this so I can test other seperate domains, not in the same forest?

Add System Uptime?

Would it be possible to incorporate system uptimes into the hardware report?

Language French support ?

Hello,
Thanks for this script.

Can you help me please,
I need to adapt output text for French language.

EN text : "passed test"
FR text : "a réussi"

Function checkDcDiag(RemoteComputer, sTest)
	Set oEXE = CreateObject("WScript.Shell").Exec("dcdiag.exe /test:" & sTest & " /s:" & RemoteComputer)
	If InStr(oEXE.StdOut.ReadAll, "passed test " & sTest) > 0 Then
		sHTML = sHTML & "<td bgcolor='LightGreen' align=center><b>Success</b></td>" & vbCrLf
	Else
		isError = True
		sHTML = sHTML & "<td bgcolor='Red' align=center><b>Failed</b></td>" & vbCrLf
	End If
End Function

Thanks for help.

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?

Multiple Domain Scan (Child Domain, Empty Forest Root)

I have a domain structure with an empty forest root domain. I am running the script from the child domain.

I would like to scan both domains all at once to get a single email. The ID running the account in the child domain has rights in the parent domain, but using the oDC array variable and specifying the parent domain controllers via FQDN returns statuses of NO CONTACT and FAILED.

Any way to do this? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.