Skip to content

Commit ce5306a

Browse files
thierryfranzettityranid
authored andcommitted
Fixed impersonation level display in Format-NtToken cmdlet (#23)
1 parent c252a99 commit ce5306a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NtObjectManager/NtObjectManager.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ function Format-NtToken {
12041204
"-----------------"
12051205
"Type : {0}" -f $token.TokenType
12061206
if ($token.TokenType -eq "Impersonation") {
1207-
"Imp Level : {0}" -f $token.TokenType
1207+
"Imp Level : {0}" -f $token.ImpersonationLevel
12081208
}
12091209
"ID : {0}" -f $token.Id
12101210
"Auth ID : {0}" -f $token.AuthenticationId

0 commit comments

Comments
 (0)