-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Bug in docu of Set-Content (in PS 7.2 LTS) #8802
Copy link
Copy link
Closed
Labels
area-managementArea - Microsoft.PowerShell.Management moduleArea - Microsoft.PowerShell.Management moduleissue-doc-bugIssue - error in documentationIssue - error in documentation
Description
Prerequisites
- Write a descriptive title.
- Search the existing issues.
- I am reporting the documentation problem for version of PowerShell I am using.
Version
7.0, 7.1, 7.2, 7.3 (preview)
Link to affected document
Description of the documentation error
Quoted from the doc:
-AsByteStream
Specifies that the content should be read as a stream of bytes. This parameter was introduced in PowerShell 6.0.
A warning occurs when you use the AsByteStream parameter with the Encoding parameter. The AsByteStream parameter ignores any encoding and the output is returned as a stream of bytes.
Shouldn't it be ?
Specifies that the content should be WRITTEN as a stream of bytes.
Suggested fix
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-managementArea - Microsoft.PowerShell.Management moduleArea - Microsoft.PowerShell.Management moduleissue-doc-bugIssue - error in documentationIssue - error in documentation