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

Status : 

 


1
0
Sign in
to vote
ID 808106 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 11/8/2013 11:55:06 AM
Access Restriction Public

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.
Sign in to post a comment.