**Description of the issue** Documentation bug. Tried to execute Example 1 from https://github.com/microsoft/PSDocs/blob/main/docs/commands/PSDocs/en-US/Invoke-PSDocument.md **To Reproduce** Steps to reproduce the issue: see screenshot **Expected behaviour** No errors reported. **Error output**  **Module in use and version:** - Module: PSDocs - Version: **0.9.0** Captured output from `$PSVersionTable`: ```text Name Value ---- ----- PSVersion 7.3.6 PSEdition Core GitCommitId 7.3.6 OS Microsoft Windows 10.0.22621 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0, 6.1.0, 6.2.0, 7.0.0, 7.1.0, 7.2.0, 7.3.6} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 ``` **Additional context** Module loaded as follows: ```powershell Save-Module PSDocs -Path D:\Temp\ Import-Module -Name D:\Temp\psdocs\ ```
Description of the issue
Documentation bug.
Tried to execute Example 1 from https://github.com/microsoft/PSDocs/blob/main/docs/commands/PSDocs/en-US/Invoke-PSDocument.md
To Reproduce
Steps to reproduce the issue:
see screenshot
Expected behaviour
No errors reported.
Error output
Module in use and version:
Captured output from
$PSVersionTable:Additional context
Module loaded as follows: