Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Remove the Banner Message in PowerShell

Tags:

powershell

When I start PowerShell it always start with a banner like this:

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Loading personal and system profiles took 1025ms.
>>

Or in other environment it start with this:

PowerShell v6.0.2
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.
>>

What should I put in the profile file so that it start without the banner message? I'm on Windows 10 64bit, using PowerShell 6.0.2.

like image 286
Amani Avatar asked Apr 15 '18 09:04

Amani


People also ask

How do I get rid of Windows PowerShell popup?

Step 1: Press the Windows key + S to open Windows Search, type in task scheduler, and press Enter. Step 2: Under Active Tasks, look for any activities that require the use of PowerShell. Once found, double-click on the task to view its description. Step 3: Click on the Disable option on your right to turn it off.


1 Answers

You can start PowerShell with the /nologo argument to disable the message.

powershell.exe /nologo

This argument can be added to the PowerShell profile in the Windows Terminal settings.

like image 195
hacker1024 Avatar answered Oct 02 '22 15:10

hacker1024