Prerequisites
Version
5.1
Link to affected document
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/rename-item?view=powershell-5.1&WT.mc_id=ps-gethelp
Description of the documentation error
Example 2 of the help file for Rename-Item output contains error message rather than example output.

Suggested fix
The example given should use output from a successfully completed command rather than a command that failed due to the example using invalid parameters.
Prerequisites
Version
5.1
Link to affected document
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/rename-item?view=powershell-5.1&WT.mc_id=ps-gethelp
Description of the documentation error
Example 2 of the help file for Rename-Item output contains error message rather than example output.
Suggested fix
The example given should use output from a successfully completed command rather than a command that failed due to the example using invalid parameters.