Install
brew tap homebrew/cask-versions
brew cask install powershell
choco install powershell-core
Configure
Profile
Install the required modules once:
Install-Module posh-git, oh-my-posh -Scope CurrentUser
Add the following to your $PROFILE
#Give me $PsLastOutput for when I forget to assign it to something
$PSDefaultParameterValues[“Out-Default:OutVariable”] = “PsLastOutput”
#Make my shell look pretty
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Agnoster