Description of the issue
Completion reports -When is valid for the Document keyword. This is incorrect and should be -With instead.
This is only an issue for command completion within VSCode. This doesn't affect execution which correctly uses -With.
Expected behaviour
Update parameters for document keyword.
Module in use and version:
- Module: PSDocs
- Version: 0.9.0-B2107010
Captured output from $PSVersionTable:
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Description of the issue
Completion reports
-Whenis valid for theDocumentkeyword. This is incorrect and should be-Withinstead.This is only an issue for command completion within VSCode. This doesn't affect execution which correctly uses
-With.Expected behaviour
Update parameters for document keyword.
Module in use and version:
Captured output from
$PSVersionTable: