Skip to content

Add batch file to bypass PowerShell execution policy#1

Merged
LilithSilver merged 1 commit intoLilithSilver:mainfrom
wjt:wjt/push-qwxvyrkvomun
Jan 16, 2026
Merged

Add batch file to bypass PowerShell execution policy#1
LilithSilver merged 1 commit intoLilithSilver:mainfrom
wjt:wjt/push-qwxvyrkvomun

Conversation

@wjt
Copy link
Contributor

@wjt wjt commented Jan 16, 2026

By default, .ps1 files cannot be executed directly without changing a system-wide security policy setting.

Happily this can be bypassed by running powershell with:

-ExecutionPolicy Bypass

By default, .ps1 files cannot be executed directly without changing a
system-wide security policy setting.

Happily this can be bypassed by running powershell with:

    -ExecutionPolicy Bypass
@wjt wjt marked this pull request as ready for review January 16, 2026 14:50
@wjt
Copy link
Contributor Author

wjt commented Jan 16, 2026

Name to be workshopped. It can't be called update_patchwork.cmd because Windows does not show file extensions by default.

@jgbourque has tested that this successfully bypasses the default execution policy, without changing any system settings.

@LilithSilver LilithSilver merged commit 08ca681 into LilithSilver:main Jan 16, 2026
@wjt wjt deleted the wjt/push-qwxvyrkvomun branch January 16, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants