Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Status of PowerShell Preference Variables

$
0
0

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.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>