How can I use a PSCustomObject ScriptMethod on the pipeline

后端 未结 0 365
北荒
北荒 2021-02-12 10:58

PSVersion: 5.1


Desired

What I wished would work
$obj = [PSCustomObject]@{
   PSTypeName = \'MyObject\'
   con        = \'local\'
}
add-member -MemberT         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题