You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I found that there seems to be a bug in reporting password quality.
The function Get-WinADAccounts is trying to compare the user list to a SamAccountName, however DSInternals does not return the username in that format. It appears to return like Domain\User. To resolve this, I modified the function as below:
There is also a bug with Get-WinADDomainOrganizationalUnitsACL related to Get-ACL. Apparently if an OU has a "" as an escape character in it, it will give a syntax error. My solution for that is below:
Uh oh!
There was an error while loading. Please reload this page.
I just started using your module, its very nice!
However, I found that there seems to be a bug in reporting password quality.
The function Get-WinADAccounts is trying to compare the user list to a SamAccountName, however DSInternals does not return the username in that format. It appears to return like Domain\User. To resolve this, I modified the function as below:
I also found that Get-WinADDomainPasswordQuality had some brackets out of place, resulting in
$Data.DomainPasswordEmptyPassword
being empty.Looks like
$Data.DomainPasswordDuplicatePasswordGroups
might suffer from the same bug.There is also a bug with
Get-WinADDomainOrganizationalUnitsAC
L related toGet-ACL
. Apparently if an OU has a "" as an escape character in it, it will give a syntax error. My solution for that is below:The text was updated successfully, but these errors were encountered: