Whether you use Windows 11 or 10 on your computer, you must change the execution policy to run a script with PowerShell. To change the execution policy to run PowerShell scripts on Windows 11 (or 10), ...