I have Powershell functions which are working as cmdlets.
My functions may get a string or an array of strings as value for the same parameter. is there any way to use some type of overloading and not by specifying the datatype as object(maybe)?
As there are multiple syntax for same cmdlet in help text for cmdlets, can the same parameter have different datatype in different implementation?
thanks in advance,
Vijay