-Proper initialization of PasswordQualityTestResult

-Prepare for release 2.23
This commit is contained in:
Michael Grafnetter 2018-07-07 18:47:48 +02:00
parent 02de708d15
commit 963339b7d7
4 changed files with 20 additions and 8 deletions

View File

@ -1,4 +1,4 @@
using System.Reflection;
[assembly: AssemblyProduct("DSInternals PowerShell Module")]
[assembly: AssemblyCopyright("Copyright © 2015-2017 Michael Grafnetter. All rights reserved.")]
[assembly: AssemblyCopyright("Copyright © 2015-2018 Michael Grafnetter. All rights reserved.")]

View File

@ -8,7 +8,7 @@
RootModule = 'DSInternals.psm1'
# Version number of this module.
ModuleVersion = '2.22'
ModuleVersion = '2.23'
# ID used to uniquely identify this module
GUID = '766b3ad8-eb78-48e6-84bd-61b31d96b53e'
@ -20,7 +20,7 @@ Author = 'Michael Grafnetter'
CompanyName = 'DSInternals'
# Copyright statement for this module
Copyright = '(c) 2015-2017 Michael Grafnetter. All rights reserved.'
Copyright = '(c) 2015-2018 Michael Grafnetter. All rights reserved.'
# Description of the functionality provided by this module
Description = @"
@ -98,7 +98,7 @@ AliasesToExport = 'Set-WinUserPasswordHash', 'Set-ADAccountPasswordHash',
'ConvertFrom-ManagedPasswordBlob', 'Get-SysKey', 'Set-ADDBSysKey',
'New-NTHashSet', 'Test-ADPasswordQuality',
'Test-ADDBPasswordQuality', 'Test-ADReplPasswordQuality',
'Get-ADPasswordPolicy','Get-ADDefaultPasswordPolicy'
'Get-ADPasswordPolicy', 'Get-ADDefaultPasswordPolicy'
# DSC resources to export from this module
# DscResourcesToExport = @()
@ -128,7 +128,7 @@ PrivateData = @{
# ReleaseNotes of this module
ReleaseNotes = @"
- Added the Enable-ADDBAccount and Disable-ADDBAccount cmdlets.
- Fixed 2 minor bugs in the Test-PasswordQuality cmdlet.
"@
} # End of PSData hashtable

View File

@ -5,8 +5,8 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DSInternals PowerShell Commands")]
[assembly: AssemblyVersion("2.22")]
[assembly: AssemblyFileVersion("2.22")]
[assembly: AssemblyVersion("2.23")]
[assembly: AssemblyFileVersion("2.23")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]

View File

@ -12,53 +12,65 @@
/// List of accounts whose passwords are stored using reversible encryption.
/// </summary>
public StringDictionary ClearTextPassword = new StringDictionary();
/// <summary>
/// List of accounts whose LM hashes are stored in the database.
/// </summary>
public StringCollection LMHash = new StringCollection();
/// <summary>
/// List of accounts that have no password set.
/// </summary>
public StringCollection EmptyPassword = new StringCollection();
/// <summary>
/// List of accounts that have a weak password.
/// </summary>
public StringDictionary WeakPassword = new StringDictionary();
/// <summary>
/// List of accounts that had a weak password.
/// </summary>
public StringDictionary WeakHistoricalPassword = new StringDictionary();
/// <summary>
/// List of computer accounts with default passwords.
/// </summary>
public StringCollection DefaultComputerPassword = new StringCollection();
/// <summary>
/// List of accounts that do not require a password.
/// </summary>
public StringCollection PasswordNotRequired = new StringCollection();
/// <summary>
/// List of accounts whose passwords never expire.
/// </summary>
public StringCollection PasswordNeverExpires = new StringCollection();
/// <summary>
/// List of accounts that are missing AES keys.
/// </summary>
public StringCollection AESKeysMissing = new StringCollection();
/// <summary>
/// List of accounts on which preauthentication is not enforced.
/// </summary>
public StringCollection PreAuthNotRequired = new StringCollection();
/// <summary>
/// List of accounts that can only be authenticated using DES.
/// </summary>
public StringCollection DESEncryptionOnly = new StringCollection();
/// <summary>
/// List of administrative accounts that can be delegated.
/// </summary>
public StringCollection DelegatableAdmins = new StringCollection();
/// <summary>
/// List of collections of accounts with the same password hashes.
/// </summary>
public IList<StringCollection> DuplicatePasswordGroups;
public IList<StringCollection> DuplicatePasswordGroups = new List<StringCollection>();
}
}