Directory Services Internals (DSInternals) PowerShell Module and Framework
Directory Services Internals PowerShell Module and Framework
Introduction
The DSInternals project consists of these two parts:
The DSInternals Framework exposes several internal features of Active Directory and can be used from any .NET application. The codebase has already been integrated into several 3rd party commercial products that use it in scenarios like Active Directory disaster recovery, identity management, cross-forest migrations and password strength auditing.
The DSInternals PowerShell Module provides easy-to-use cmdlets that are built on top of the Framework. These are the main features:
[!WARNING]
Features exposed through these tools are not supported by Microsoft. Improper use might cause irreversible damage to domain controllers or negatively impact domain security.
Author
Michael Grafnetter
I have created these tools in my spare time and I am using them while performing AD security audits and also in my lectures to demonstrate how Active Directory works internally.
Unblock the ZIP file, using either the Properties dialog or the Unblock-File cmdlet. If you fail to do so, all the extracted DLLs will inherit this attribute and PowerShell will refuse to load them.
Extract the DSInternals directory to your PowerShell modules directory, e.g. C:\Windows\system32\WindowsPowerShell\v1.0\Modules\DSInternals or C:\Users\John\Documents\WindowsPowerShell\Modules\DSInternals.
(Optional) If you copied the module to a different directory than advised in the previous step, you have to manually import it using the Import-Module cmdlet.
Commando VM
The DSInternals PowerShell module is part of FireEye's Commando VM, the Windows-based alternative to Kali Linux.