[client] windows: document PowerShell policy override

This commit is contained in:
Geoffrey McRae
2026-10-03 08:47:41 +10:00
parent 78b6a31e7d
commit 52462d29c9

View File

@@ -32,10 +32,12 @@ Building
Open an x64 Native Tools command prompt. Alternatively, initialize a regular
PowerShell session for an x64 host and target first (replace ``Community``
with the installed Visual Studio edition when necessary):
with the installed Visual Studio edition when necessary). The process-scoped
policy change below applies only to the current PowerShell session:
.. code:: powershell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
$vsTools = 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools'
& "$vsTools\Launch-VsDevShell.ps1" `
-Arch amd64 -HostArch amd64 -SkipAutomaticLocation