Search

Import-Csv LiteralPath ValueFromPipelineByPropertyName by PetSerAl

Active

2
0
Sign in
to vote
Type: Bug
ID: 771015
Opened: 11/14/2012 1:25:27 AM
Access Restriction: Public
0
Workaround(s)
2
User(s) can reproduce this bug
Although LiteralPath marked as ValueFromPipelineByPropertyName, actualy it is not possible to send something to it from pipeline, becouse Path parameter exists in same parameter sets and marked as ValueFromPipeline, so it always get value from pipeline, and setting both parameters is error.

[PSCustomObject]@{LiteralPath='Test.csv'}|Import-Csv
Details (expand)
How often does this happen?
Always Happens

Have you seen this problem before in this product?

No, this is new to the most recent version
Reproduction Steps
 
Expected Results
 
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.