anandthearchitect.com
PowerShell: How to return multiple values from a Function?
If you like to return multiple values from a function, simply populate a hash table variable in function and return the variable. See my example below. Feel free to use my example function and Enjo…