Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Get-LogonFailureReason result not always returned #46

Open
joshwright10 opened this issue Jan 21, 2021 · 0 comments
Open

[BUG] Get-LogonFailureReason result not always returned #46

joshwright10 opened this issue Jan 21, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@joshwright10
Copy link

Describe the bug
Failure reason is not returned if the first switch statement matches and adds content to the $LogonFailureReason variable.

To Reproduce
Match one of the statements in the first switch statement which looks at $EventRecord.FailureReason

Expected behavior
$LogonFailureReason.ToString() should be placed one level up, and not be nested in the current IF statement.

PowerShell Environment (please complete the following information):

  • OS: Windows 10
  • Edition desktop
  • Version 5.1.18362.1171
@joshwright10 joshwright10 added the bug Something isn't working label Jan 21, 2021
joshwright10 added a commit to joshwright10/PoShEvents that referenced this issue Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants