Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit 96ae5e3

Browse files
committed
type correction
1 parent 1916464 commit 96ae5e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Recon/PowerView.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4453,7 +4453,7 @@ Switch. Return user accounts that are marked as 'sensitive and not allowed for d
44534453

44544454
Switch. Return computer objects that are trusted to authenticate for other principals.
44554455

4456-
.PARAMETER KerberosPreuthNotRequired
4456+
.PARAMETER KerberosPreauthNotRequired
44574457

44584458
Switch. Return user accounts with "Do not require Kerberos preauthentication" set.
44594459

@@ -4611,7 +4611,7 @@ The raw DirectoryServices.SearchResult object, if -Raw is enabled.
46114611
$TrustedToAuth,
46124612

46134613
[Switch]
4614-
$KerberosPreuthNotRequired,
4614+
$KerberosPreauthNotRequired,
46154615

46164616
[ValidateNotNullOrEmpty()]
46174617
[String]
@@ -4742,7 +4742,7 @@ The raw DirectoryServices.SearchResult object, if -Raw is enabled.
47424742
Write-Verbose '[Get-DomainUser] Searching for users that are trusted to authenticate for other principals'
47434743
$Filter += '(msds-allowedtodelegateto=*)'
47444744
}
4745-
if ($PSBoundParameters['KerberosPreuthNotRequired']) {
4745+
if ($PSBoundParameters['KerberosPreauthNotRequireduthNotRequired']) {
47464746
Write-Verbose '[Get-DomainUser] Searching for user accounts that do not require kerberos preauthenticate'
47474747
$Filter += '(userAccountControl:1.2.840.113556.1.4.803:=4194304)'
47484748
}

0 commit comments

Comments
 (0)