September 30th, 2012

PowerTip: Look at User Variables

Doctor Scripto
Scripter

Summary: Look at variables that do not have a description.

Hey, Scripting Guy! Question How can you look at automatic and user-created variables that have no description?

Hey, Scripting Guy! Answer Use the Get-Variable cmdlet and search for an empty description:

            Get-Variable | where description -eq “”

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.