IT-Dienstleistungen

Set-ExecutionPolicy

All posts

Windows

Enable execution of custom PowerShell scripts

# in PowerShell

# Your .ps1 won't execute without adjusting the execution policy
# this will take effect immediately
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Currentuser

# check your execution policy configuration
Get-ExecutionPolicy -List