PowerTip: Check Status of PowerShell Preference Variables

Doctor Scripto

Summary: Learn to easily check the value assignments of Windows PowerShell preference variables.

Hey, Scripting Guy! Question How can I use Windows PowerShell to quickly check the value of Windows PowerShell preference variables?

Hey, Scripting Guy! Answer You can use the Windows PowerShell variable drive and look for variables that end with
           the word preferenceIn this example, dir is an alias for Get-Content:

dir variable:*preference 

0 comments

Discussion is closed.

Feedback usabilla icon