{"id":22357436,"url":"https://github.com/lazywinadmin/adsips","last_synced_at":"2025-10-13T18:03:26.700Z","repository":{"id":18861199,"uuid":"22077878","full_name":"lazywinadmin/AdsiPS","owner":"lazywinadmin","description":"PowerShell module to interact with Active Directory using ADSI and the System.DirectoryServices namespace (.NET Framework)","archived":false,"fork":false,"pushed_at":"2020-10-28T17:27:21.000Z","size":769,"stargazers_count":193,"open_issues_count":28,"forks_count":46,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-05-02T01:53:51.355Z","etag":null,"topics":["active-directory","activedirectory","adsi","directoryservices","directoryservices-namespace","hacktoberfest","powershell","scripting"],"latest_commit_sha":null,"homepage":"http://www.lazywinadmin.com","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lazywinadmin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-21T19:51:21.000Z","updated_at":"2024-03-26T09:41:44.000Z","dependencies_parsed_at":"2022-07-25T06:46:59.442Z","dependency_job_id":null,"html_url":"https://github.com/lazywinadmin/AdsiPS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazywinadmin%2FAdsiPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazywinadmin%2FAdsiPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazywinadmin%2FAdsiPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazywinadmin%2FAdsiPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lazywinadmin","download_url":"https://codeload.github.com/lazywinadmin/AdsiPS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228124571,"owners_count":17873170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["active-directory","activedirectory","adsi","directoryservices","directoryservices-namespace","hacktoberfest","powershell","scripting"],"created_at":"2024-12-04T14:14:17.019Z","updated_at":"2025-10-13T18:03:21.644Z","avatar_url":"https://github.com/lazywinadmin.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdsiPS\n\n[![Build Status](https://dev.azure.com/lazywinadmin/AdsiPS/_apis/build/status/lazywinadmin.AdsiPS?branchName=master)](https://dev.azure.com/lazywinadmin/AdsiPS/_build/latest?definitionId=17\u0026branchName=master)\n\nAdsiPS is a PowerShell module to interact with Active Directory using the .NET Framework (ADSI, System.DirectoryServices namespace,...)\n\n**Note: This module currently only works on Windows Operating Systems.**\n\n## Usage\n\n### Option A: Download from PowerShell Gallery\n\nOnly from PowerShell v5.1 (on Windows OS only)\n\n``` powershell\nInstall-Module -name ADSIPS\n```\n\n### Option B: Manual download from GitHub\n\n1. Download the repository\n1. Unblock the zip file\n1. Extract the folder to a module path (e.g. $home\\Documents\\WindowsPowerShell\\Modules)\n1. Run `build.ps1` (exists in project root).\n   - **NOTE:** If you get an error after running `build.ps1` - please use **`build.ps1 -InstallDependencies`**\n1. `build.ps1` creates a folder called `~\\buildoutput\\AdsiPs` in the directory which `AdsiPs` was saved to\n1. Inside of `\\buildoutput\\AdsiPs` there is a file called `AdsiPs.psm1`\n1. Run `Import-Module -Path \"C:\\Path\\To\\buildoutput\\AdsiPs\\AdsiPs.psm1\"` to import the `AdsiPs` module\n\n## Documentation\n\n- [Functions](docs/doc_functions.md)\n- [Contributing \u0026 TODO](https://github.com/lazywinadmin/adsips/blob/master/CONTRIBUTING.md)\n- [Use cases](docs/doc_usecases.md)\n\n## Thanks to all our Contributors!\n\n* @LazyWinAdmin\n* @MickyBalladelli\n* @christophekumor\n* @omiossec\n* @oze4\n* @andrewtchilds\n* @NicolasBn\n* @gerane\n* @Skoetting\n* @LaurentLienhard\n* @JM2K69\n\n## Resources\n\n* MSDN is a great resource if you want to find more information on the NET classes to use. See [System.DirectoryServices](https://msdn.microsoft.com/en-us/library/system.directoryservices(v=vs.110).aspx)\n* Interesting projects using different approaches to reach out to Active Directory in PowerShell/c#\n  * [ADAudit by @darkoperator](https://github.com/darkoperator/ADAudit/tree/dev)\n  * [ADSI on powershell.com by @TobiasPSP](http://powershell.com/cs/blogs/ebookv2/archive/2012/03/25/chapter-19-user-management.aspx) by Tobias Weltner\n  * [ADRecon from @sense-of-security](https://github.com/sense-of-security/ADRecon)\n  * [PowerView from @PowerShellMafia team](https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1)\n  * [Invoke-Kerberoast from @EmpireProject team](https://github.com/EmpireProject/Empire/blob/master/data/module_source/credentials/Invoke-Kerberoast.ps1)\n  * [PSAD by @zloeber](https://github.com/zloeber/PSAD)\n  * [Test-ActiveDirectory by @markwragg](https://github.com/markwragg/Test-ActiveDirectory/blob/master/ADAudit/ActiveDirectory.tests.ps1)\n  * [AdEnumerator(LDAP) by @chango77747](https://github.com/chango77747/AdEnumerator/blob/master/ADEnumerator.psm1)\n  * [Grant-ADPermission by @edemilliere](https://github.com/edemilliere/ADSI/blob/master/Grant-ADPermission.ps1)\n  * [ADSec by @FriedrichWeinmann](https://github.com/PSSecTools/ADSec)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazywinadmin%2Fadsips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazywinadmin%2Fadsips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazywinadmin%2Fadsips/lists"}