-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Select-String
as pipeline | corrupted output
#20026
Comments
This is a known bug, and it affects:
See: |
> Get-ComputerInfo | Select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer
WindowsProductName WindowsVersion OsHardwareAbstractionLayer ------------------ -------------- -------------------------- Windows 10 Home 2009 10.0.22000.1696
------------------ -------------- --------------------------
Windows 10 Home 2009 10.0.22000.1696
> Get-Culture
LCID Name DisplayName
---- ---- -----------
1035 fi-FI Finnish (Finland)
> tpmtool /? | Select-String -AllMatches -Raw -Pattern 'getdevice'
GETDEVICEINFORMATION Displays the basic information of the TPM.
tpmtool getdeviceinformation |
@237dmitry, that only works with an opt-in (having manually set the |
Yes exactly. Now I remembered. This registry value I actually set. |
Another issue, out of scope though; the non-reliability of |
|
Prerequisites
Steps to reproduce
tpmtool /?
'or 'TPMTOOL /?
'; output truncated:tpmtool /? | Select-String -AllMatches -Pattern 'getdevice'
'Expected behavior
Non-corrupted original text structure.
Corrupted original text structure.
Visuals
No response
The text was updated successfully, but these errors were encountered: