Showing results for Variables - Scripting Blog [archived]

Jul 27, 2015
0
0

PowerTip: Find PowerShell Variables Defined for AllScope

Doctor Scripto
Doctor Scripto

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'...

Scripting Guy!Windows PowerShellscripting techniques
Jul 27, 2015
0
0

Describe Your PowerShell Variables

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about adding a description to variables. Microsoft Scripting Guy, Ed Wilson, is here. There is a “water feature” outside that keeps running and running and running. It is a bit strange, and to be honest, it makes me think that it is raining all the time. In central Florida in the summer...

Scripting Guy!Windows PowerShellscripting techniques