PowerTip: Look at User Variables

Doctor Scripto

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 “”


Discussion is closed.

Feedback usabilla icon