-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Closed
Copy link
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or more
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
# To avoid an unrelated bug (#18715), make sure that Get-ChildItem was referenced at least once in this session.
$null = Get-ChildItem -?
# Compare the parameter name reported via Get-ChildItem vs. via alias gci
# Be sure to call this from a *file-system* location.
Compare-Object @((Get-Command Get-ChildItem).Parameters.Keys) @((Get-Command gci).Parameters.Keys)See also:
Expected behavior
No output (the same set of parameters should be reported by both Get-Command calls).
Actual behavior
InputObject SideIndicator
----------- -------------
Attributes <=
FollowSymlink <=
Directory <=
File <=
Hidden <=
ReadOnly <=
System <=That is, all dynamic parameters are missing from what Get-Command gci).Parameters reported.
Error details
No response
Environment data
PowerShell Core 7.3.0Visuals
No response
Metadata
Metadata
Assignees
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or more