Cum se setează metoda de executare cu PowerShell?

Configurare noua (How To)

Situatie

# Restricted – No scripts can be run. Windows PowerShell can be used only in interactive mode.
Set-ExecutionPolicy -ExecutionPolicy Restricted
# AllSigned – Only scripts signed by a trusted publisher can be run.
Set-ExecutionPolicy -ExecutionPolicy AllSigned
# RemoteSigned – Downloaded scripts must be signed by a trusted publisher before they can be run.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
# Unrestricted – No restrictions – All Windows PowerShell scripts can be run.
Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Solutie

Tip solutie

Permanent

Voteaza

(3 din 9 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?