DSInternals

6.5

The DSInternals PowerShell Module exposes several internal features of 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 u
The DSInternals PowerShell Module exposes several internal features of 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.5

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

Install-PSResource -Name DSInternals -Version 6.5

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-2026 Michael Grafnetter. All rights reserved.

Package Details

Author(s)

  • Michael Grafnetter

Tags

ActiveDirectory Security SAM LSA DNS BitLocker LAPS 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 Add-ADReplSidHistory Unlock-ADDBAccount Get-ADDBDnsResourceRecord Get-ADDBDnsZone Set-ADDBAccountControl Get-ADDBTrust

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

- Added the -UseNamedPipe parameter to the Get-SamPasswordPolicy cmdlet.
- Improved MS-SAMR authentication fallback for localhost and missing SPN scenarios.
- Fixed Get-ADReplAccount failure on domains with non-ASCII site names (e.g. German umlauts).
- Fixed a missing throw in SafeUnicodeSecureStringPointer that silently ignored invalid password byte arrays.

FileList

Version History

Version Downloads Last updated
7.2 81,865 9/11/2026
7.1 163,903 7/4/2026
7.0 109,261 5/28/2026
6.5 (current version) 22,644 5/16/2026
6.4 104,330 3/28/2026
6.3 97,341 2/8/2026
6.2 154,827 12/5/2025
6.1.1 246,687 8/19/2025
6.1 4,065 8/17/2025
6.0.1 4,646 8/14/2025
6.0 103 8/14/2025
5.4.3 88,487 7/9/2025
5.3 228,568 4/11/2025
5.2 3,374 4/9/2025
5.1 54,285 3/22/2025
5.0 43,844 3/3/2025
4.16 207,818 1/5/2025
4.15.1 7,840 1/3/2025
4.15 35,226 12/23/2024
4.14 688,234 4/13/2024
4.13 296,141 12/20/2023
4.12 157,795 10/6/2023
4.11 12,936 10/1/2023
4.10 28,982 9/16/2023
4.9 535,548 2/25/2023
4.8 265,758 12/6/2022
4.7 1,197,607 10/30/2021
4.6 24,447 10/19/2021
4.5 13,481 10/13/2021
4.4.1 237,845 7/18/2020
4.4 6,451 7/3/2020
4.3 52,940 4/2/2020
4.2 3,252 3/18/2020
4.1 13,805 12/12/2019
4.0 901 12/4/2019
3.6.1 6,220 8/10/2019
3.6 2,030 6/27/2019
3.5 2,754 5/10/2019
3.4 617 4/23/2019
3.3 1,702 3/2/2019
3.2.1 1,506 1/4/2019
3.1 189 12/29/2018
3.0 2,324 9/29/2018
2.23 2,590 7/7/2018
2.22 7,288 5/1/2017
2.21.2 163 4/19/2017
2.21.1 92 4/14/2017
2.21 281 3/25/2017
2.20 2,563 11/15/2016
2.19 297 10/21/2016
2.18 245 10/2/2016
2.17 158 9/16/2016
2.16.1 2,784,340 8/8/2016
2.16 87 8/7/2016
2.15 290 6/18/2016
2.14 258 4/30/2016
2.13.1 262 2/25/2016
2.13 79 2/21/2016
2.12 98 2/7/2016
2.11.1 66 2/3/2016
2.10 133 1/14/2016
2.9 91 12/27/2015
2.8 202 10/20/2015
2.7 140 9/30/2015
2.6 90 9/21/2015
2.5 104 9/14/2015
2.4 105 9/5/2015
Show more