Get-ScriptVariables.ps1 is my take on a variable inventory script I found on Powershell.com. I changed the function name, as Get-Variable already in use, gave a unique name to function variables to exclude, added other system variables, and added example to show current values with enumeration.