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

PowerTip: Working with the Maximum History Setting

$
0
0

Summary: Learn how to increase the maximum history value.

 

Hey, Scripting Guy! Question How can I increase the number of commands that are stored in the Windows PowerShell command history?

Hey, Scripting Guy! Answer Specify a new value for the $MaximumHistoryCount automatic variable.

   In Windows PowerShell 3.0, the variable is set to 4096, but you can store up to 32767 history items
   in the variable if you need to do so. 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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