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).
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
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:
- Defaults -> Appearance -> Text -> Font Face -> Robotomono (Nerd font with icon set for Oh-My-Posh)
- Defaults -> Advanced -> Text antialiasing -> ClearType (important for visual quality)
- Save. DONE!
Now, enjoy your enhanced and stylish PowerShell experience! 🚀