Home Dashboard Directory Help
Search

Select-Object should take an -AsPlain flag by Derp McDerp


Status: 

Active


1
0
Sign in
to vote
Type: Suggestion
ID: 808701
Opened: 11/15/2013 11:06:05 AM
Access Restriction: Public
0
Workaround(s)
view

Description

Select-Object returns a pscustomobject with a 'Selected.Whatever.Input.Type' pstypename prepended to it. It would be great if there was a way to suppress that behavior and just get a regular pscustomobject back without having to do this:

date | select * |%{ [void]$_.pstypenames.RemoveAt(0) }
Details
Sign in to post a comment.
Sign in to post a workaround.