GitHub Action to execute Windows Power shell commands on GitHub.
To run, go to the Actions tab, see "PowerShell virtual environment", click Run workflow, and set the server to run Windows on (2022, 2019 or latest), as well as the command to run.
GitHub then connects to your specified server to run Windows PowerShell and run your command.
By default, the following is set for the workflow run:
- Command:
echo "Hello World" - Server: Latest version (
2022)latestuses Server 2019 still. Microsoft is making2022the value forlatest. For more info see actions/runner-images#4856. - Checkout version:
v2(Latest version.)
Note: This can not be changed.