Giter Site home page Giter Site logo

mikaelnet / console Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sitecorepowershell/console

0.0 2.0 0.0 46.28 MB

Sitecore PowerShell Extensions

Home Page: http://blog.najmanowicz.com/sitecore-powershell-console/

License: Other

C# 32.18% CSS 1.98% PowerShell 2.04% Smalltalk 0.81% ASP 0.06% JavaScript 62.92%

console's Introduction

Sitecore PowerShell Extensions

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

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 | % { $_.Text += "<p>Updated with SPE</p>"  }
  • Find the oldest page on your site:
gci master:\content\home -Recurse | select Name,Id,"__Updated" | sort "__Updated"
  • Remove a file from the Data directory:
gci $SitecoreDataFolder\packages -Filter "readme.txt" | ri
  • Rename items in the Media Library:
gci "master:\media library\Images" | % { rni $_.ItemPath -NewName ($_.Name + "-old") }

Note: Aliases and positional parameters were used in the above examples. Use Get-Alias to see them all.

  • gci = Get-ChildItem
  • ri = Remove-Item
  • rni = Rename-Item

If you can answer yes to any of those (and more), you will certainly find this module a powerful and necessary tool.

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 - Cognifide -and SPE Senior Developer

Michael West - SPE Developer

Mike Reynolds - SPE Evangelist


Resources

Download the module from the Sitecore Marketplace.

Read the SPE user guide.

See a whole variety of links to SPE material.

Watch some quick start training videos.

console's People

Contributors

adamnaj avatar alan-null avatar alexkasaku avatar cogskuzniak avatar marrrcin avatar michaellwest avatar ptaront avatar scjunkie avatar

Watchers

 avatar  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.