PowerShell: Set-ExecutionPolicy

preview_player
Показать описание
Learn how to set the execution policy on your computer to allow remote PowerShell scripts to run with or without verification. This will fix the pesky error complaining that remote scripts can't be run.

Example: Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Full documentation:
Рекомендации по теме