VBScript Function - Microsoft

To determine the data type in a PowerShell variable you pipe the contents of the variable to Get-Member and rely on the Cmdlet to tell you the type. There’s no way to have an enumeration that maps to each possible data type; because you can construct new data types on the fly, that enumeration would have to account for an infinite number of ... ................
................