Skip to main content
Nick Marsceau

Remove PowerShell Version Number

I was setting up PowerShell on a new computer a week or two ago, and I was reminded that by default, PowerShell prints out its version number every time you start a new session:

A screenshot of a new PowerShell session with 'PowerShell 7.3.7' printed before the command prompt.

I turned that off a long time ago on my other computers, but since then I have completely forgotten how to make that change. I did not have much luck googling for the answer. It seemed like everything I searched just came back with results for how to get the PowerShell version number, not how to hide it on startup.

I finally figured it out, and in the hopes of saving myself some time the next time this issue comes up, I am documenting this solution for my own future reference. And I figured, why not toss it on the blog and make it public. 🤷🏻‍♂️

To prevent PowerShell from printing its version number every time a new session is started, you need to add the -NoLogo option to the command that launches PowerShell. That version number is apparently called a "Logo". (If I had known that to begin with, googling for this solution would have been a lot easier.)

If you use Windows Terminal, adding this option is very easy, and I am including the steps for making this change below. If you don't use Windows Terminal, you may need to make a custom shortcut to launch PowerShell that includes this option in the command.

In Windows Terminal:

  1. Open Settings, and under Profiles, select your PowerShell profile. Mine is just called "PowerShell".

    A screenshot of the PowerShell settings window. In the left-hand menu, there is a section labeled 'Profiles', and the 'PowerShell' profile is highlighted.
  2. Expand the Command line section, and edit the command to add the -NoLogo option at the end. If any portion of your command is in quotes, add this option outside the quotes.

    A screenshot of the settings for the 'PowerShell' profile with the 'Command line' section expanded. The text '-NoLogo' has been added to the command for launching PowerShell.
  3. Save your change and open a new PowerShell session to make sure the version number, or "Logo", is no longer printed on startup.

    A screenshot of a new PowerShell session with nothing printed before the command prompt.

Note: This may also suppress update notifications when PowerShell starts up if a new version is available. However, if your PowerShell is connected to Windows Update, that may not be an issue.