microsoft / PSDocs

Generate documentation from Infrastructure as Code (IaC).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invoke-PSDocument help example 1 fails

shivtorov opened this issue · comments

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

image

Module in use and version:

  • Module: PSDocs
  • Version: 0.9.0

Captured output from $PSVersionTable:

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:

Save-Module PSDocs -Path D:\Temp\
Import-Module -Name D:\Temp\psdocs\

Thanks for raising your first issue, the team appreciates the time you have taken 😉