Home Dashboard Directory Help
Search

Tab completion for [pscustomobject] by stromnessian


Status: 

Active


6
0
Sign in
to vote
Type: Bug
ID: 785445
Opened: 4/23/2013 9:48:14 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

When I try to tab complete the [pscustomobject] type, I get a [psobject] instead, which wouldn't be a problem if these two commands were equivalent:

$obj = [psobject]@{'Name'='MyObject'}
$obj = [pscustomobject]@{'Name'='MyObject'}

but they're not. The first creates a hash table, the second a pscustom object.
Details
Sign in to post a comment.
Posted by Trevor Sullivan on 8/14/2013 at 1:29 PM
Weird. I've never tried doing that before. Good find.
Sign in to post a workaround.