PowerShell Profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Clear-Host | |
Write-Color "Windows PowerShell" | |
Write-Color "Copyright (C) Microsoft Corporation. All rights reserved." -LinesAfter 1 | |
<# Alternatively if you don't have Write-Color | |
Clear-Host | |
Write-Host "Windows PowerShell" | |
Write-Host "Copyright (C) Microsoft Corporation. All rights reserved." | |
Write-Host | |
#> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type
code $Profile
when in Powershell console. This will open up VSCode with your profile, where you simply paste the code from above.