This is an example template that has a batch script that downloads the latest version of PowerShell from GitHub, and a batch script to run a PowerShell script with that version of PowerShell.
Why do you think that https://github.com/Lulech23/ReplaceOSK is a good alternative to Standalone-PowerShell-Template