To run the script directly in PowerShell, use the following command:
irm "https://nocapscripts.github.io/LocalOnly/local.ps1" | iexTo run the script directly in CMD, use the following command:
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm 'https://nocapscripts.github.io/LocalOnly/local.ps1' | iex"- local.ps1 - Runs
start ms-cxh:localonly.
- Clone this repository.
- Upload your PowerShell scripts.
- Enable GitHub Pages in repository settings.