DSInternals

6.0

The DSInternals PowerShell Module exposes several internal features of Active Directory and Azure Active Directory. These include FIDO2 and NGC key auditing, offline ntds.dit file manipulation, password auditing, DC recovery from IFM backups and password hash calculation.

DISCLAIMER: Features exposed through this module are not supported by Microsoft and it is ther
The DSInternals PowerShell Module exposes several internal features of Active Directory and Azure Active Directory. These include FIDO2 and NGC key auditing, offline ntds.dit file manipulation, password auditing, DC recovery from IFM backups and password hash calculation.

DISCLAIMER: Features exposed through this module are not supported by Microsoft and it is therefore not intended to be used in production environments. Improper use might cause irreversible damage to domain controllers or negatively impact domain security.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name DSInternals -RequiredVersion 6.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name DSInternals -Version 6.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2015-2025 Michael Grafnetter. All rights reserved.

Package Details

Author(s)

  • Michael Grafnetter

Tags

ActiveDirectory AzureAD Security SAM LSA DNS BitLocker LAPS FIDO NTDS Windows

Cmdlets

ConvertTo-NTHash ConvertTo-LMHash Set-SamAccountPasswordHash ConvertFrom-UnicodePassword ConvertTo-UnicodePassword ConvertTo-OrgIdHash ConvertFrom-GPPrefPassword ConvertTo-GPPrefPassword Set-ADDBPrimaryGroup Get-ADDBDomainController Set-ADDBDomainController Get-ADDBSchemaAttribute Remove-ADDBObject Get-ADDBAccount Get-BootKey Get-ADReplAccount ConvertTo-Hex ConvertTo-KerberosKey ConvertFrom-ADManagedPasswordBlob Get-ADReplKdsRootKey Get-ADDBBackupKey Get-ADReplBackupKey Save-DPAPIBlob Set-ADDBBootKey Test-PasswordQuality Get-ADDBServiceAccount Get-ADDBBitLockerRecoveryInformation Get-ADDBKdsRootKey Get-SamPasswordPolicy Get-ADSIAccount Enable-ADDBAccount Disable-ADDBAccount Get-ADKeyCredential Set-ADDBAccountPassword Set-ADDBAccountPasswordHash Get-LsaPolicyInformation Set-LSAPolicyInformation New-ADDBRestoreFromMediaScript Get-LsaBackupKey Add-ADReplNgcKey Get-AzureADUserEx Set-AzureADUserEx Unlock-ADDBAccount Get-ADDBDnsResourceRecord Get-ADDBDnsZone Set-ADDBAccountControl Get-ADDBTrust

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

- Implemented support for PowerShell Core 7 on Windows.
- The new Get-ADDBTrust cmdlet can read inter-domain trust objects from ntds.dit files, decrypt the trust passwords, and derive the Kerberos trust keys.
- Added the Get-ADReplKdsRootKey cmdlet to enable reading specific KDS Root Keys over the MS-DRSR protocol.
- Implemented full support for ntds.dit files originating from RODCs.
- Improved the performance of schema loading and account retrieval from ntds.dit files.

FileList

Version History

Version Downloads Last updated
6.0.1 1,546 8/14/2025
6.0 (current version) 73 8/14/2025
5.4.3 88,306 7/9/2025
5.3 228,472 4/11/2025
5.2 3,362 4/9/2025
5.1 54,136 3/22/2025
5.0 43,802 3/3/2025
4.16 207,500 1/5/2025
4.15.1 7,833 1/3/2025
4.15 35,192 12/23/2024
4.14 688,029 4/13/2024
4.13 296,113 12/20/2023
4.12 157,769 10/6/2023
4.11 12,925 10/1/2023
4.10 28,965 9/16/2023
4.9 535,497 2/25/2023
4.8 265,725 12/6/2022
4.7 1,194,817 10/30/2021
4.6 24,402 10/19/2021
4.5 13,470 10/13/2021
4.4.1 237,472 7/18/2020
4.4 6,437 7/3/2020
4.3 52,925 4/2/2020
4.2 3,239 3/18/2020
4.1 13,777 12/12/2019
4.0 783 12/4/2019
3.6.1 6,189 8/10/2019
3.6 2,006 6/27/2019
3.5 2,732 5/10/2019
3.4 605 4/23/2019
3.3 1,685 3/2/2019
3.2.1 1,492 1/4/2019
3.1 170 12/29/2018
3.0 2,255 9/29/2018
2.23 2,356 7/7/2018
2.22 7,224 5/1/2017
2.21.2 146 4/19/2017
2.21.1 78 4/14/2017
2.21 269 3/25/2017
2.20 2,472 11/15/2016
2.19 286 10/21/2016
2.18 230 10/2/2016
2.17 149 9/16/2016
2.16.1 236,633 8/8/2016
2.16 74 8/7/2016
2.15 278 6/18/2016
2.14 247 4/30/2016
2.13.1 253 2/25/2016
2.13 68 2/21/2016
2.12 85 2/7/2016
2.11.1 56 2/3/2016
2.10 118 1/14/2016
2.9 77 12/27/2015
2.8 189 10/20/2015
2.7 130 9/30/2015
2.6 77 9/21/2015
2.5 92 9/14/2015
2.4 90 9/5/2015
Show more