PowerTip: Find Status of PowerShell Preference Variables

Summary:  Easily find the status of Windows PowerShell Preference variables.

Hey, Scripting Guy! Question How can I see the preference settings that I can change with Windows PowerShell?

Hey, Scripting Guy! Answer Look at variables that contain the word Preference  in their name by using the Get-ChildItem 
          and looking at the Variable drive:

Get-ChildItem variable:*preference

Note  To see all of the Windows PowerShell Preference variables, see about_Preference_Variables.
Many of the Preference variables are not present on the Variable drive unless you change their initial values.

Comments (2)

  1. s.mcknight says:

    In all ways helpful…many thanks.

  2. Travis Brown says:

    I love windows server powershell I never learn in before but I want to

Skip to main content