PowerShell - cannot be loaded because running scripts is disabled

PowerShell - cannot be loaded because running scripts is disabled

Dobrý den, při spouštění powershell skriptu skript.ps1 dostávám hlášku, nevím co s tím:


File C:\skript.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=1
35170.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess


ODPOVĚĎ


Dobrý den,

spusťte PowerShell jako správce a zadejte tento příkaz, tím to vyřešíte:

set-executionpolicy remotesigned
Jak se ti článek líbil?

Komentáře (0)

Přidat komentář