Code Monkey home page Code Monkey logo

book's Introduction

description
Sitecore PowerShell Extensions is an open source module built for the Sitecore Content Management System. Run commands and scripts written in PowerShell using the Sitecore API.

Introduction

Sitecore PowerShell Extensions

About the Module

The Sitecore PowerShell Extensions (SPE) module is a Sitecore development accelerator which can drastically increase your productivity and curtail the amount of time it takes to deliver a Sitecore solution.

The module provides a command line (CLI) and scripting environment (ISE) for automating tasks. SPE works with the Sitecore process, capable of making native calls to the Sitecore API and manipulating files. Running commands and writing scripts follow the standard and well-known Windows PowerShell syntax. Windows PowerShell is a common tool used in IT for desktop and server management, so we decided to stick with that as a framework to build upon.

{% hint style="warning" %} Support for Sitecore 7 has discontinued with SPE 5.0. {% endhint %}

Bundled Tools

The following are some helpful modules distributed with SPE.

  • Core
    • Platform
      • PowerShell Background Session Manager
      • Recreate site from sitemap
    • X-UnitTests - examples at how to use Pester to test your scripts
  • Maintenance
  • Reporting
  • Samples
    • Automatically show quick info section
    • Enforce user password expiration
    • Example Event Handlers
    • Getting Started - includes the Kitchen Sink Demo for Read-Variable.
    • License Expiration
    • Random desktop background
    • Unlock user items on logout
  • Tools
    • Authoring Instrumentation
    • Copy Renderings
    • Data Management
      • Bulk Data Generator - useful for items and users
      • Bulk Item Restorer - restore items from recycle bin
      • Data Importer - create or update items from a Csv
      • Find and Replace - use Content Search to change text
    • Elevated Unlock - provides options to unlock items using delegated administration
    • Package Generator - a simple method to package up items
    • Publishing Status Gutter

Endorsements

There is nothing you can not do with PowerShell Console, because you're inside the Sitecore application. You can call the Sitecore API. - Alistair Deneys - Sitecore Symposium 2012

Recommended by John West to use as a tool for maximizing Sitecore developer productivity.

Get a job done with a one liner!
Just provisioned a new language for the whole content tree with a one-liner. Whaaaat?
Have to include it as a default install for all sandboxes now.
- Alex Shyba's comment on Marketplace

hank you for the GitBook. Invaluable Reference. - Nick Wesselman's tweet

The Sitecore powershell tools are absurdly good and helpful. I know they make a lot of people nervous, but they are incredibly well managed. Everybody should learn to sling some shell in Sitecore, you'll never look back. - Christopher Campbell tweet

Development Team

Help and Support

See the Troubleshooting section for some common fixes.

Questions, comments, and feature requests should be submitted on GitHub. You may also check out the SPE Slack channel for more interactive support. Not on Slack yet? Contact us on Twitter and we'll send you an invite.

Disclaimer: With great power comes great responsibility โ€“ this tool can do a lot of good but also bring harm to a lot of content in a very short time โ€“ backup your system before running a script that modifies your content and never run any untested scripts in a production environment! We will not be held responsible for any use of it. Test your scripts on your development server first! Test on an exact copy of production before running scripts on production content.

book's People

Contributors

adamnaj avatar alexkasaku avatar michaellwest avatar robsonautomator avatar samypesse avatar twiernik avatar vgbenjamin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.