Summary: Find Windows PowerShell variables that are defined for all scopes.
How can I find what variables are defined as AllScope in my Windows PowerShell environment?
Get a list of all your variables, and filter for options that include AllScope, for example:
(dir variable:).where({$_.options -match 'allscope'})