-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Should Get-Item Cert:\ return an object #6258
Copy link
Copy link
Closed
Labels
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.
Metadata
Metadata
Assignees
Labels
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.
Calling Get-Item on the root of a provider should return an item.
it does for these commands:
But not for this command
Behaviour is the same as it was in 5.1. I suspect it has always been this way.
I am only creating this issue because I corrected a test in #6256 for #6245 that was malformed. It then started to fail on the assumption that Get-Item would give it an object in that case. I adjusted the test to no longer check the Cert:\ path.
Steps to reproduce
Expected behavior
Actual behavior
Environment data