Giter Club home page Giter Club logo

adsips's Introduction

Build Status

AdsiPS

PowerShell module to interact with Active Directory using ADSI and the System.DirectoryServices namespace (.NET Framework)

The initial motivation for this module was to improve my knowledge on how to interact with Active Directory without the Microsoft Active Directory module or the Quest Active Directory Snapin. The other elements that I wanted to work on were being able to use alternative Credentials and to specify a different Domain.

Obviously I'm still learning and there is ton of space for improvements... Would love contributors, suggestions, feedback or any other help.

Table of contents

Contributing

Contributions are welcome via pull requests and issues. Please see our contributing guide for more details

Installation

Download from PowerShell Gallery (recommended)

Only from PowerShell version 5

Install-Module -name ADSIPS

Download from GitHub repository

  1. Download the repository
  2. Unblock the zip file
  3. Extract the folder to a module path (e.g. $home\Documents\WindowsPowerShell\Modules)
  4. Run build.ps1 (exists in project root).
    • NOTE: If you get an error after running build.ps1 - please use build.ps1 -InstallDependencies
  5. build.ps1 creates a folder called ~\buildoutput\AdsiPs in the directory which AdsiPs was saved to
  6. Inside of \buildoutput\AdsiPs there is a file called AdsiPs.psm1
  7. Run Import-Module -Path "C:\Path\To\buildoutput\AdsiPs\AdsiPs.psm1" to import the AdsiPs module

Use Cases

  1. Learning Active Directory: We can't see the code behind the Microsoft ActiveDirectory Module and Quest ActiveDirectory Snapin. This module is a great way to explore and learn on how Active Directory is working,
  2. Delegation: Active Directory queries need to be performed by a tool (GUI for example) and you don't want it to load AD module. Additionally you don't know who will use the tool and if they have/can/know how to install the module,
  3. Performance: ADSI is way faster,
  4. Restricted environment: Sometime ActiveDirectory Module is not available/ or can't install it on a machine.

More Information

Authors

  • Thanks to our Contributors!!
    • @LazyWinAdmin
    • @MickyBalladelli
    • @christophekumor
    • @omiossec
    • @oze4
    • @andrewtchilds
    • @NicolasBn
    • @gerane

Resources

Interesting projects using different approaches to reach out to Active Directory in PowerShell/c#

adsips's People

Contributors

lazywinadmin avatar christophekumor avatar oze4 avatar omiossec avatar andrewtchilds avatar nicolasbn avatar gerane avatar laurentlienhard 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.