PowerTip: Change the Intellisense Timeout Value in PowerShell

PowerTip: Change the Intellisense Timeout Value in PowerShell

  • Comments 6
  • Likes

Summary: Change the Intellisense timeout value in Windows PowerShell 3.0 ISE.

Hey, Scripting Guy! Question How can I display the Intellisense options for a longer time when I am using the Windows PowerShell 3.0 ISE?

Hey, Scripting Guy! Answer Change the intellisense timeout value from the default 3 seconds to a greater value.

To do this, click Tools, and then click Options. On the General Settings tab, in the Intellisense section of the form, click the drop-down list to change the Intellisense timeout in seconds value. 

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • $host.PrivateData.IntellisenseTimeoutInSeconds = X

  • @Ben Wilkinson COOL ... I had not noticed that one. Thanks for sharing.

  • This helped me !!!

  • Pls let me know where is the tool options in powershell

  • Unfortunately the default (3 seconds) timeout only works partially:
    Just type the following command line:
    Get-ChildItem -Path 'HKLM:\SOFTWARE\Classes\
    After typing the last backslash, IntelliSense is run, and times out after three seconds - only it takes further 25 seconds until the status bar message "IntelliSense is stopped ..." (translated from German "IntelliSense wird beendet ...") disappears and you can run the script, use IntelliSense again, etc.
    In this case I could even understand the problem (lots of keys under "Classes"), but the same happens in other cases - and almost drives me crazy!
    Any idea how to fix this problem?
    (same result in Win7-64 German/PS v4 and also in Win8 German/PS v3!)

  • @Anonymous: Have a look at the menu bar. Most probably you didn't start Powershell_ISE.exe but rather Powershell console/powershell.exe?