Skip to content

Instantly share code, notes, and snippets.

@vtml
Last active December 3, 2019 03:08
Show Gist options
  • Select an option

  • Save vtml/7e2886dafb37a5f7c3974d70132aa8bf to your computer and use it in GitHub Desktop.

Select an option

Save vtml/7e2886dafb37a5f7c3974d70132aa8bf to your computer and use it in GitHub Desktop.
Patch to enable Sitecore Powershell Extensions Restful V2
<?xml version="1.0"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:env="http://www.sitecore.net/xmlconfig/env/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore>
<powershell>
<services>
<restfulv2 role:require="ContentManagement or Standalone">
<patch:attribute name="enabled">true</patch:attribute>
<authorization>
<add Permission="Allow" IdentityType="User" Identity="sitecore\CI.User" />
</authorization>
</restfulv2>
</services>
</powershell>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment