To run the script directly in PowerShell, use the following command:
irm "https://nocapscripts.github.io/LocalOnly/local.ps1" | iex
To run the script directly in CMD, use the following command:
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm 'https://nocapscripts.github.io/LocalOnly/local.ps1' | iex"
start ms-cxh:localonly.