31 Mar 2017 superuser   » (Journeyer)

How to disable the beep in PowerShell

This was annoying, but easily resolved.

You can easily disable this in PowerShell by running this command:

  Set-PSReadlineOption -BellStyle None

However, what you probably want is to disable this every time you open up PowerShell.  Doing this is simple.  In PowerShell, type

notepad $profile

This will most likely ask you to create a file.  Create the file, and then enter the above Set-PSRReadlineOption command into the file.  Save it, and close it.  Now, new PowerShell windows that pop open won’t make that annoying beep.

You can find out more about these profiles over on MSDN.

Syndicated 2017-03-31 04:16:15 from JasonLotito

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!