Skip to main content

Script Center

Script Center
We are dedicated to the system administration scripters of the world. At the Microsoft Script Center, we focus on teaching people how to use Windows PowerShell and VBScript to reduce time spent performing mundane tasks.

Hey, Scripting Guy! Blog

Script Center Home Page

PowerTip: Working with the Maximum History Setting
Summary: Learn how to increase the maximum history value. How can I increase the number of commands that are stored in the Windows PowerShell command history? 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.

Recent Posts