Home Dashboard Directory Help
Search

ForEach-Object -MemberName and Where-Object -Property access members in the reversed order by Derp McDerp


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 808106
Opened: 11/8/2013 11:55:06 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

I expect the following 2 lines to be identical:
$a |% Member
$a |% { $_.Member }

I expect the following 2 lines to be identical:
$a |? { $_.Member -op $foo }
$a |? Member -op $foo

But they're not.

If you fix this bug, please audit every other cmdlet that specifies a property name and examine what they do.
Details
Sign in to post a comment.
Sign in to post a workaround.