|
| Is it possible to create a new type? |
 |
Thu, 10 Apr 2008 09:48:23 -070 |
I'd like to attach a PSScriptMethod called GetType to a PSObject.
I'm thinking if my synthetic objects have unique types my code
can deal with them like other types using -is, -isnot etc.
But I can't just return a string with the type name from GetType.
It wants an object of type [system.type] returned.
Is it possible to create such an object that '-is' a specific name of
|
| Post Reply
|
|
|
|
|
|
|
|
|
|