GithubHelp home page GithubHelp logo

joostgrunwald / adxray Goto Github PK

View Code? Open in Web Editor NEW

This project forked from claudiomerola/adxray

0.0 0.0 0.0 4.27 MB

Active Directory's Health Check script that generates a full HTML report of the environment's health, security and status based on Microsoft's Best Practices.

License: GNU General Public License v3.0

PowerShell 100.00%

adxray's Introduction

Active Directory xRay Script

The script does not record, create or modify anything in the environment (except for creating a folder named “ADxRay” in C:\ of the computer running the script. Inside that folder the log files and the main report file named “ADxRay_Report(YEAR-MONTH-DAY).htm” is created).

The script must be run at a Domain Controller running at least Windows Server 2012 (see requirements below).

The script must be run by a user with Domain Admin privileges (Enterprise Admins if dealing with multiple domains and forests).

This script may take several hours to complete!


How to run:

Just copy or download the ADxRay.ps1 and run on any computer that meets the requirements below.


Requirements:

The script must be run with the following requirements:

  • Must be run on Domain Controller (due to the tools used during the inventory)
  • Must be run with rights to read objects in the entire forest and run AD Tools (dcdiag, SETSPN, dsquery, GET-AD*)
  • Must be run with elavated Powershell (Run as Administrator) - This is necessary to create the folders to keep the files generated
  • Internet connection is not required*

Internet connection might be use by the script for version validation, but is not a requirement.


What the script does:

This script will create the folder C:\ADxRay and run a deep inventory of your entire Active Directory environment, indicating what’s bad and what’s good. All the tests and validations are explained and contains external links to official Microsoft documentation and/or well know blog post from MVPs.


The Inventory phase of the script may take a long time to run depending on the size of the environment.


Even the script may overload the server used to run, it is not harmful to the environment. The users will not be affected and no modifications will be made in the environment (there is not a single “set-” powershell command and the only “new-“ were regarding the creation of the html report file and the xml inventory files)


Screenshots:


alt text


User and Computer Account's health:


alt text


Group Policy Validations:


alt text


Domain Controller's Health:


alt text


Domain Controller's NTP and DNS Configuration:


alt text


Domain Controller's Security Policy Status (against Microsoft's Best Practices):


alt text


Domain Controller's Hardware Inventory:


alt text


Domain Controller's Software Inventory:


alt text

adxray's People

Contributors

claudiomerola avatar raphaelapereira avatar

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.