Skip to content

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

License

Notifications You must be signed in to change notification settings

lazywinadmin/AdsiPS

Repository files navigation

AdsiPS

Build Status

AdsiPS is a PowerShell module to interact with Active Directory using the .NET Framework (ADSI, System.DirectoryServices namespace,...)

Note: This module currently only works on Windows Operating Systems.

Usage

Option A: Download from PowerShell Gallery

Only from PowerShell v5.1 (on Windows OS only)

Install-Module -name ADSIPS

Option B: Manual download from GitHub

  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

Documentation

Thanks to all our Contributors!

  • @LazyWinAdmin
  • @MickyBalladelli
  • @christophekumor
  • @omiossec
  • @oze4
  • @andrewtchilds
  • @NicolasBn
  • @gerane
  • @Skoetting
  • @LaurentLienhard
  • @JM2K69

Resources

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published