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 The System.Text.StringBuilder Append() method outputs a System.Text.StringBuilder object which is shown in the pipeline when called.
System.Text.StringBuilder
Append()
This can be resolved by using [void]. For example: [void]$LogonFailureReason.Append("Reason")
[void]
[void]$LogonFailureReason.Append("Reason")
To Reproduce Call Get-LogonFailureReason and match any of the switch statements.
Get-LogonFailureReason
Expected behavior No output should be seen, other than the final output object that is expected.
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
The
System.Text.StringBuilder
Append()
method outputs aSystem.Text.StringBuilder
object which is shown in the pipeline when called.This can be resolved by using
[void]
. For example:[void]$LogonFailureReason.Append("Reason")
To Reproduce
Call
Get-LogonFailureReason
and match any of the switch statements.Expected behavior
No output should be seen, other than the final output object that is expected.
PowerShell Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: