You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only the online versions of the cmdlet help topics list parameter aliases such as -lp and -PSPath for -LiteralPath.
# With -FullGet-HelpGet-ChildItem-Full |Out-String-Stream |Select-String'^\s+-LiteralPath'-context 0,9# Parameter-individualGet-HelpGet-ChildItem-Parameter LiteralPath
Expected behavior
> -LiteralPath <System.String[]> Specifies a path to one or more locations. The value of LiteralPath is used exactly as it's typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell to not interpret any characters as escape sequences. For more information, see about_Quoting_Rules (../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). Required? true Position? named Default value None Accept pipeline input? True (ByPropertyName) Aliases PSPath, LP-LiteralPath <System.String[]> Specifies a path to one or more locations. The value of LiteralPath is used exactly as it's typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell to not interpret any characters as escape sequences. For more information, see about_Quoting_Rules (../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). Required? true Position? named Default value None Accept pipeline input? True (ByPropertyName) Accept wildcard characters? false Aliases PSPath, LP
Prerequisites
Steps to reproduce
Judging by MicrosoftDocs/PowerShell-Docs#1638 (comment), this was fixed at least at some point in PS Core, but the problem is back.
Only the online versions of the cmdlet help topics list parameter aliases such as
-lpand-PSPathfor-LiteralPath.Expected behavior
Actual behavior
The
Aliasesline is missing in both cases.Error details
No response
Environment data
Visuals
No response