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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With