Unixery & daemon worship 🔥


It's a Unix system! I know this!

Powershell Execution Policy

Um die aktuelle Policy abzufragen, folgenden Befehl ausfĂĽhren:

Get-ExecutionPolicy

Um alle Skripte zu erlauben, folgenden Befehl ausfĂĽhren:

Set-ExecutionPolicy Bypass

Um die SkriptausfĂĽhrung zu verbieten:

Set-ExecutionPolicy Restricted

Sicherheit

Die Powershell Execution Policy ist kein Sicherheitsfeature!

The PowerShell execution policy is the setting that determines which type of PowerShell scripts (if any) can be run on the system. By default it is set to Restricted, which basically means none. However, its important to understand that the setting was never meant to be a security control. Instead, it was intended to prevent administrators from shooting themselves in the foot. Thats why there are so many options for working around it.

Quelle: blog.netspi.com