We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Failure reason is not returned if the first switch statement matches and adds content to the $LogonFailureReason variable.
$LogonFailureReason
To Reproduce Match one of the statements in the first switch statement which looks at $EventRecord.FailureReason
$EventRecord.FailureReason
Expected behavior $LogonFailureReason.ToString() should be placed one level up, and not be nested in the current IF statement.
$LogonFailureReason.ToString()
PowerShell Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
Fix Get-LogonFailureReason thedavecarroll#46 and thedavecarroll#45
0fcc8bb
thedavecarroll
No branches or pull requests
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):
The text was updated successfully, but these errors were encountered: