DSInternals

3.1

The DSInternals PowerShell Module exposes several internal features of Active Directory.

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.

Minimum PowerShell version

3.0

Installation Options

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

Install-Module -Name DSInternals -RequiredVersion 3.1

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

Install-PSResource -Name DSInternals -Version 3.1

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

Package Details

Author(s)

  • Michael Grafnetter

Tags

ActiveDirectory Security SAM LSA

Cmdlets

ConvertTo-NTHash ConvertTo-LMHash Set-SamAccountPasswordHash ConvertFrom-UnicodePassword ConvertTo-UnicodePassword ConvertTo-OrgIdHash ConvertFrom-GPPrefPassword ConvertTo-GPPrefPassword Add-ADDBSidHistory Set-ADDBPrimaryGroup Get-ADDBDomainController Set-ADDBDomainController Get-ADDBSchemaAttribute Remove-ADDBObject Get-ADDBAccount Get-BootKey Get-ADReplAccount ConvertTo-Hex ConvertTo-KerberosKey ConvertFrom-ADManagedPasswordBlob Get-ADDBBackupKey Get-ADReplBackupKey Save-DPAPIBlob Set-ADDBBootKey Test-PasswordQuality Get-ADDBKdsRootKey Get-SamPasswordPolicy Get-ADSIAccount Enable-ADDBAccount Disable-ADDBAccount Get-ADKeyCredential Set-ADDBAccountPassword Set-ADDBAccountPasswordHash Get-LsaPolicyInformation Set-LSAPolicyInformation New-ADDBRestoreFromMediaScript

Dependencies

This module has no dependencies.

Release Notes

- Added the New-ADDBRestoreFromMediaScript cmdlet to aid with file-level DC recovery process.
- Added the Get-LSAPolicyInformation and Set-LSAPolicyInformation cmdlets that can be used to retrieve and change domain-related LSA Policies.
- Extended the information returned by the The Get-ADDBDomainController cmdlet.
- Added MAML documentation for Get-Help.
- Path to the DSInternals.psd1 file now does not need to be specified when loading the module from a non-default location.

FileList

Version History

Version Downloads Last updated
7.1 26,697 7/4/2026
7.0 109,209 5/28/2026
6.5 22,627 5/16/2026
6.4 104,285 3/28/2026
6.3 96,684 2/8/2026
6.2 154,802 12/5/2025
6.1.1 246,631 8/19/2025
6.1 4,060 8/17/2025
6.0.1 4,639 8/14/2025
6.0 96 8/14/2025
5.4.3 88,444 7/9/2025
5.3 228,534 4/11/2025
5.2 3,367 4/9/2025
5.1 54,265 3/22/2025
5.0 43,840 3/3/2025
4.16 207,774 1/5/2025
4.15.1 7,837 1/3/2025
4.15 35,209 12/23/2024
4.14 688,179 4/13/2024
4.13 296,132 12/20/2023
4.12 157,781 10/6/2023
4.11 12,930 10/1/2023
4.10 28,974 9/16/2023
4.9 535,541 2/25/2023
4.8 265,747 12/6/2022
4.7 1,197,182 10/30/2021
4.6 24,441 10/19/2021
4.5 13,479 10/13/2021
4.4.1 237,747 7/18/2020
4.4 6,446 7/3/2020
4.3 52,939 4/2/2020
4.2 3,249 3/18/2020
4.1 13,796 12/12/2019
4.0 860 12/4/2019
3.6.1 6,206 8/10/2019
3.6 2,022 6/27/2019
3.5 2,744 5/10/2019
3.4 612 4/23/2019
3.3 1,697 3/2/2019
3.2.1 1,499 1/4/2019
3.1 (current version) 185 12/29/2018
3.0 2,310 9/29/2018
2.23 2,566 7/7/2018
2.22 7,280 5/1/2017
2.21.2 159 4/19/2017
2.21.1 84 4/14/2017
2.21 276 3/25/2017
2.20 2,548 11/15/2016
2.19 293 10/21/2016
2.18 240 10/2/2016
2.17 154 9/16/2016
2.16.1 2,715,779 8/8/2016
2.16 80 8/7/2016
2.15 285 6/18/2016
2.14 254 4/30/2016
2.13.1 257 2/25/2016
2.13 74 2/21/2016
2.12 91 2/7/2016
2.11.1 60 2/3/2016
2.10 125 1/14/2016
2.9 85 12/27/2015
2.8 194 10/20/2015
2.7 135 9/30/2015
2.6 84 9/21/2015
2.5 98 9/14/2015
2.4 98 9/5/2015
Show less