Skip to content
Sitecore PowerShell Extensions
JavaScript C# PowerShell CSS HTML Smalltalk
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Added an option for one-time sponsorship. Sep 26, 2019
Modules Cleaned up a commented out line. May 12, 2020
data Moved things around to cleanup root directory. Jan 8, 2020
deploy Moved things around to cleanup root directory. Jan 8, 2020
releases First attempt at a 6.1 beta release. Apr 7, 2020
src Decided to just change the role. Jun 4, 2020
startup Fixed issue where the disabled configs are not packaged. May 8, 2020
unicorn/SPE #1196 : Added support for an elevated action of Confirm. Jun 2, 2020
.env Cleanup of environment file. Mar 10, 2020
.gitattributes Added more file extensions. May 2, 2020
.gitignore First attempt at a 6.1 beta release. Apr 7, 2020
CONTRIBUTING.md Create CONTRIBUTING.md Apr 23, 2020
Clean-Data.ps1 Moved things around to cleanup root directory. Jan 8, 2020
NuGet.config #977 : Added NuGet config to the repo. Feb 10, 2018
README.md Changed icon of PowerShell root item. Jul 22, 2019
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
Spe.sln Moved things around to cleanup root directory. Jan 8, 2020
Spe.sln.DotSettings #1109 : Renamed module to Spe. Jun 2, 2019
docker-compose.override.yml.example Updated version of windows hosts writer. May 27, 2020
docker-compose.yml Decided to just change the role. Jun 4, 2020
license.md Added Docker override example and updated the license.md. Jan 26, 2020
readme-console-ise.png Added image to the readme. Dec 23, 2016
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
Adam Najmanowicz Michael West
Founder, Architect & Lead Developer Developer & Documentation Lead

Resources

You can’t perform that action at this time.