Idera nSoftware Compellent

Changing Execution Policy without Admin Rights

In PowerShell v.2, a number of parameters have been added to Set-ExecutionPolicy, which allows you to change this setting without Admin privileges, unless an administrator has restricted this:

This line will change the execution policy only for the current session:

Set-ExecutionPolicy -Scope Process RemoteSigned -force

This will change your personal execution policy permanently:

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned -force

Twitter This Tip! ReTweet this Tip!


Posted Feb 04 2010, 08:00 AM by ps1

Comments

Episode 101 – Matthew Giles from Connect-SMART « PowerScripting Podcast wrote Episode 101 – Matthew Giles from Connect-SMART « PowerScripting Podcast
on 02-07-2010 9:37 PM

Pingback from  Episode 101 – Matthew Giles from Connect-SMART «  PowerScripting Podcast

Copyright 2010 PowerShell.com. All rights reserved.