Prerequisites
Version
7.0, 7.1, 7.2, 7.3 (preview)
Link to affected document
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-content?view=powershell-7#parameters
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
Prerequisites
Version
7.0, 7.1, 7.2, 7.3 (preview)
Link to affected document
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-content?view=powershell-7#parameters
Description of the documentation error
Quoted from the doc:
Shouldn't it be ?
Suggested fix
No response