Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Unable to determine "true" data type of Cmdlet parameter

$
0
0

I have a Cmdlet called Make-VArrayList. It creates an object (VArrayList) that extends System.Collections.ArrayList. It is designed to take any input - an Object, Object[], ICollection, ArrayList, or VArrayList, and return it as a VArrayList object.

Just one problem...the check for object type ALWAYS returns "PSObject" when executed from PoSH 1.0. Any ideas?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>