I want to enable a specific non admin user to use PowerShell extensions without giving them admin privileges.

So far, according to the PowerShell ISE Security Documentation, I have given all the necessary permissions to that user to following items in Core database:

\content\Applications\PowerShell and all its descendants and also to \content\Applications\Content Editor\Context Menues\Default and all its descendants.

However, when that user click on PowershellIse, he gets logged out and is unable to use it.

My question is that what permissions do I need to set, apart from what I already have and is it possible at all to access and use PowershellIse for non-admin users?

1 Answer 1


First I recommend you not allow the user to click the PowerShell ISE and Console shortcuts. Those are interfaces designed for a Developer or Admin.

As noted in the book, the Script menu is allowed for users not associated with the sitecore\Sitecore Limited Content Editor since a deny read is set.

Visible by Default

Ribbon commands are visible after you run the integration sync found in the ISE. See this page for more details.

You can configure rules on the script item to alter visibility and enabled state. In the script you'll want to add in a UserSwitcher to provide the necessary elevated privileges.

$elevatedUser= Get-User -Identity "sitecore\ElevatedUser"

New-UsingBlock (New-Object Sitecore.Security.Accounts.UserSwitcher $elevatedUser) {
    # Run commands that required the elevated access.
  • Thanks Michael for letting me know! I will surely try that and will let you know! Thanks again :) Dec 7, 2017 at 14:54
  • Michael, would giving a user the Developer role also work? Dec 8, 2017 at 12:48
  • Yes, Developers should see all the interfaces. Dec 8, 2017 at 13:28
  • @MichaelWest - Thank you so much! This is exactly what I wanted. Thanks again!! Dec 8, 2017 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.