Skip to content

Powershell Module for visualizing membership relations in your local Active Directory.

License

Notifications You must be signed in to change notification settings

Callidus2000/ADGraph

Repository files navigation

Contributors Forks Stargazers Issues GPLv3 License


Logo

ADGraph Powershell Module

This Powershell Module utilizes the PSGraph module for visualizing membership relations in your local Active Directory.
Explore the docs »

Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

This Powershell Module is visualization tool for membership relations within your local ActiveDirectory. Did you ever

  • asked yourself in which nested groups a user is memberOf?
  • wanted to compare group membership of multiple users?
  • needed to document the current state into a pdf file?

This module provides all this.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

All module prerequisites will be installed automatically.

The module is written for Windows Powershell 5.1 and needs the ActiveDirectory installed which is automatically available if RSAT is installed.

The module PSGraph is just a wrapper around GraphViz and is looking for it in the following paths: C:\Program Files\NuGet\Packages\Graphviz*\dot.exe or C:\program files*\GraphViz*\bin\dot.exe

You can install it by running Install-GraphViz (provided by PSGraph) or just manually.

Installation

The releases are published in the Powershell Gallery, therefor it is quite simple:

Install-Module ADGraph -Force -AllowClobber

The AllowClobber option is currently neccessary because of an issue in the current PowerShellGet module. Hopefully it will not be needed in the future any more.

Usage

GUI

Simplest way to get started is to use the provided mini GUI.

Start-ADGraph

Choose a domain Choose your options Details for Joe Compare Joe and Janes

Commandline usage

Everything you can do in the GUI can be done from the Commandline (as the GUI uses the same functions)

$dn = "CN=joe,OU=Users,DC=mydomain,DC=com"
New-ADGraph -Domain "myDomain" -DN "CN=joe,OU=Users,DC=mydomain,DC=com" -ReturnType "SinglePDF" -ShowPDF $true
Get-ADUser "joe" | New-ADGraph -Domain "myDomain"
New-ADGraph -Domain "myDomain" -DN @("CN=jane,OU=Users,DC=mydomain,DC=com","CN=joe,OU=Users,DC=mydomain,DC=com") -ReturnType "SinglePDF" -ShowPDF $true

I hope everything else can be achieved from the integrated help.

Roadmap

New features will be added if any of my scripts need it ;-)

See the open issues for a list of proposed features (and known issues).

If you need a special function feel free to contribute to the project.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. For more details please take a look at the CONTRIBUTE document

Short stop:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Limitations

  • Does only work with Windows Powershell 5.1, not Powershell Core. I will migrate as soon as the AD functionality is available cross plattform

License

Distributed under the GNU GENERAL PUBLIC LICENSE version 3. See LICENSE.md for more information.

Contact

Project Link: https://github.com/Callidus2000/ADGraph

Acknowledgements

About

Powershell Module for visualizing membership relations in your local Active Directory.

Resources

License

Stars

Watchers

Forks

Packages

No packages published