This is a Powershell script I use to set up Powershell Core with my preferred modules and prompt theme. The modules installed are:
Prerequisites:
In order for the themed prompt to display correctly you will need to install a font which includes programming ligatures. 'Caskaydia Cove Nerd Font Complete Windows Compatible.ttf' from Nerd Fonts is recommended. See this guide for then setting the font in Windows Terminal.