Skip to content
Sitecore PowerShell Extensions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Fixed typo in message. Aug 17, 2017
Cognifide.PowerShell.Abstractions VersionSpecific is now embedded. Abstractions library added. May 20, 2019
Cognifide.PowerShell.Package Refactored code for the post step. May 20, 2019
Cognifide.PowerShell.Sitecore8 VersionSpecific is now embedded. Abstractions library added. May 20, 2019
Cognifide.PowerShell.Sitecore92 VersionSpecific is now embedded. Abstractions library added. May 20, 2019
Cognifide.PowerShell Forgot to include the Abstractions library with the minimal package. May 21, 2019
Data/packages Added missing packages. Downloaded these from the marketplace. Oct 25, 2015
Documentation Update Find-Item.md Feb 1, 2018
Libraries Added script to build help docs. Dec 28, 2018
Modules #1099 : Current user is validated against all API calls. Mar 9, 2019
UserConfiguration/App_Config/Include Default user configuration had an invalid token definition Aug 9, 2017
.gitattributes Fix for items not being able to deserialize from the disk because git… Sep 27, 2013
.gitignore Ignored sample scripts. Dec 22, 2018
Cognifide.PowerShell.sln Removed references to Sitecore 7.x. May 21, 2019
Cognifide.PowerShell.sln.DotSettings Added rule to format using var keyword and applied the new formatting. Jan 26, 2015
Deploy_Functions.ps1 #922: Rewrote the deployment process to use PS and simplified configu… Aug 6, 2017
NuGet.config #977 : Added NuGet config to the repo. Feb 10, 2018
Post_Build.ps1 Almost have jobs working. May 16, 2019
README.md Update README.md Dec 27, 2018
Release process.md 2.8 Release Dec 19, 2014
Setup-Module.ps1 #922: Rewrote the deployment process to use PS and simplified configu… Aug 6, 2017
deploy.json VersionSpecific is now embedded. Abstractions library added. May 20, 2019
deploy.targets #922: Rewrote the deployment process to use PS and simplified configu… Aug 6, 2017
deploy.user.json.sample #922: Rewrote the deployment process to use PS and simplified configu… Aug 6, 2017
license.md Issue #263 - WIP Dec 19, 2014
readme-console-ise.png
readme-ise.gif Added animated gif for ISE demonstration. Dec 23, 2016

README.md

Sitecore PowerShell Extensions

A command line and scripting tool built for the Sitecore platform.

Sitecore PowerShell Extensions


Notice

  • If you are using version 4.2 or older in your environments we recommend you update them to 5.0+ ASAP
  • We recommend that you DO NOT install SPE on Content Delivery servers or run it in setups that face the Internet in an unprotected connections (e.g. outside of a VPN protected environment)
  • Sitecore versions 7.x and below are no longer supported with the release of SPE 5.0

License

The Sitecore PowerShell Extensions module (SPE) provides a robust environment for automating tasks within Sitecore.

Sitecore PowerShell Extensions

Consider some of the following examples to see how SPE can improve your quality of life as a Sitecore developer/administrator:

  • Make changes to a large number of pages:
Get-ChildItem -Path master:\content\home -Recurse | 
    ForEach-Object { $_.Text += "<p>Updated with SPE</p>"  }
  • Find the oldest page on your site:
Get-ChildItem -Path master:\content\home -Recurse | 
    Select-Object -Property Name,Id,"__Updated" | 
    Sort-Object -Property "__Updated"
  • Remove a file from the Data directory:
Get-ChildItem -Path $SitecoreDataFolder\packages -Filter "readme.txt" | Remove-Item
  • Rename items in the Media Library:
Get-ChildItem -Path "master:\media library\Images" | 
    ForEach-Object { Rename-Item -Path $_.ItemPath -NewName ($_.Name + "-old") }

The idea behind the project is to create a scripting environment to work within Sitecore on a granular level to allow you to apply complex modifications and manipulate not just sites, but files and pages on a large scale or perform statistical analysis of your content using a familiar and well documented query language Windows PowerShell.

If you have any questions, comments, or suggegstions with the SPE module, please report them in the Issue Tracker. We'll also gladly respond to any of your questions on Sitecore Shared Source Modules Forum or in the Project Discussion Pages.

Enjoy!

Adam Najmanowicz Michael West Mike Reynolds
Adam Najmanowicz Michael West Mike Reynolds
Founder, Architect & Lead Developer Developer & Documentation Lead SPE Evangelist

Resources

You can’t perform that action at this time.