I want to run PowerShell scripts on Windows 7 as a regular user. Whenever I try, I get the following error:
File C:\\Users\\danv\\Documents\\WindowsPowe
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
This will set the execution policy for the current user (stored in HKEY_CURRENT_USER) rather than the local machine (HKEY_LOCAL_MACHINE). This is useful if you don't have administrative control over the computer.