Skip to content

Pretty PowerShell with some Linux aliases. This is modified to also work on Windows Server.

Notifications You must be signed in to change notification settings

rungok/powershell-profile-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 PowerShell Profile Server Pimp (Pretty PowerShell)

A stylish and functional PowerShell profile that looks and feels almost as good as a Linux terminal. This fork is tailored to work better for vanilla Windows Server 2022 and simplified to be only 1 file you can paste in manually if you want. As winget is not yet supported on server by Microsoft, modules like Zoxide fuzzy shell are installed via Chocolatey instead.

This script works 95% on Windows 2019, but 2022 is highly recommended as it will install Microsoft Windows Terminal for you which does a better job rendering nerd fonts (font with borders and icons).

⚡ One Line Install (Elevated PowerShell Recommended)

Execute the following command in an elevated PowerShell window to install the PowerShell profile:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;irm "https://github.com/rungok/powershell-profile-server/raw/main/Microsoft.PowerShell_profile.ps1" | iex

🛠️ Fix the terminal config

After running the script. That means starting the OS-included Powershell (preferably in Administrative mode), you need to manually change these settings by pressing CTRL + , in Windows Terminal:

  1. Defaults -> Appearance -> Text -> Font Face -> Robotomono (Nerd font with icon set for Oh-My-Posh)
  2. Defaults -> Advanced -> Text antialiasing -> ClearType (important for visual quality)
  3. Save. DONE!

Customize this profile

Now, enjoy your enhanced and stylish PowerShell experience! 🚀

About

Pretty PowerShell with some Linux aliases. This is modified to also work on Windows Server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%