If I want the type of variable $pwd I can execute

'$' + (dir variablewd).name + ' ' + $pwd.gettype().name

How would I write a command to get the types of all the variables
in the variable: drive in a similar way that lists the variable
name and then the type of that variable?

- Larry