Summary: Learn how to find Windows PowerShell variables in various scopes.
(image) How can I see what Windows PowerShell variables exist in various scopes?
(image) Use the Get-Variable cmdlet and use the –Scope modifier (this can be global, local, or script), for example:
Get-Variable -Scope...