https://gist.github.com/jchandra74/5b0c94385175c7a8d1cb39bc5157365e
Install-PackageProvider NuGet -MinimumVersion '2.8.5.201' -Force
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module -Name 'posh-git'
install-module posh-git
install-module oh-my-posh
if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
notepad $PROFILE
Import-Module 'posh-git'
Import-Module 'oh-my-posh'
Set-Theme agnoster
%localappdata%\Programs\oh-my-posh\themes