https://github.com/l4rm4nd/admodule
Microsoft signed ActiveDirectory PowerShell module
https://github.com/l4rm4nd/admodule
Last synced: 8 months ago
JSON representation
Microsoft signed ActiveDirectory PowerShell module
- Host: GitHub
- URL: https://github.com/l4rm4nd/admodule
- Owner: l4rm4nd
- Created: 2023-02-09T11:54:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T21:03:22.000Z (over 2 years ago)
- Last Synced: 2024-12-31T02:28:07.673Z (10 months ago)
- Language: PowerShell
- Size: 370 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ADModule
The secret to being able to run AD enumeration commands from the AD Powershell module on a system without RSAT installed, is the DLL located in ``C:\Windows\Microsoft.NET\assembly\GAC_64\Microsoft.ActiveDirectory.Management`` on a system that has the RSAT installed. This means that we can just grab the DLL from a system with RSAT and drop it on a system we want to enumerate from that does not have RSAT installed. No need to install RSAT.
This repository contains a Microsoft signed DLL for the ActiveDirectory PowerShell module. Basically just a backup from a Microsoft Windows Server 2019 with RSAT from the following locations:
- C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ActiveDirectory
- C:\Windows\WinSxS\\*\Microsoft.ActiveDirectory.Management.dll
- C:\Windows\WinSxS\\*\Microsoft.ActiveDirectory.Management.resources.dll## Usage
````
# clone the repository
git clone https://github.com/l4rm4nd/ADModule# change directory
cd ADModule# import dlls and modules
Import-Module .\Microsoft.ActiveDirectory.Management.dll -verbose
Import-Module .\ActiveDirectory.psd1 -Verbose# list imported ad modules
Get-Command -Module ActiveDirectory# verify that rsat works
Get-ADDomain
````