.psobject.baseobject only sometimes returns the undecorated underlying .NET type instance #8866
Labels
Issue-Question
ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a
Resolution-No Activity
Issue has had no activity for 6 months or more
WG-Engine
core PowerShell engine, interpreter, and runtime
Note: Not sure if use of
.psobject.BaseObject
is officially supported in PowerShell code. It can be handy as a workaround in certain situations, but isn't consistently supported.Steps to reproduce
Expected behavior
That is, applying
.psobject.BaseObject
should eliminate the ETS NoteProperty members in both cases.Actual behavior
That is, applying
.psobject.BaseObject
to the[datetime]
instance did not eliminate the NoteProperty members.Environment data
The text was updated successfully, but these errors were encountered: