sitecore from the command line
DESCRIPTION
Sitecore from the Command Line. Why, Mike? Why?. "Scripting saves time" - Alistair Deneys , former Sitecore MVP, Sitecore Symposium Australia 2012 How? Bulk updates on items Code can be changed quickly (relatively) No code builds and deploys (usually). Yeah, So What?. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/1.jpg)
Mike ReynoldsProduct Technical LeadMedTouch
Sitecore from the Command Line
![Page 2: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/2.jpg)
Why, Mike? Why?
"Scripting saves time" - Alistair Deneys, former Sitecore MVP, Sitecore Symposium Australia 2012
• How? Bulk updates on items Code can be changed quickly (relatively) No code builds and deploys (usually)
![Page 3: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/3.jpg)
Yeah, So What?
Saving time saves us:
![Page 4: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/4.jpg)
What Are Our Options?
SQL• Not a good idea :-/
Sitecore Rocks Query Analyzer Revolver Sitecore PowerShell Extensions
![Page 5: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/5.jpg)
Revolver
Built by Alistair Deneys, former Sitecore MVP First scripting module for Sitecore Open Source• Was $3,500 (AUD)
Custom language with a syntax like Unix
![Page 6: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/6.jpg)
Revolver
Let’s See It
![Page 7: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/7.jpg)
Revolver – Can We Customize It?
Custom Commands• Must implement Revolver.Core.ICommand
Let’s see an example
![Page 8: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/8.jpg)
Sitecore PowerShell Extensions
Built by Adam Najmanowicz, Sitecore MVP Open Source Is PowerShell in Sitecore Gives access to the Sitecore API
![Page 9: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/9.jpg)
Sitecore PowerShell Extensions (SPE)
Let’s See It
![Page 10: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/10.jpg)
SPE – Can We Customize it?
Custom Commands
Let’s see an example
![Page 11: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/11.jpg)
Learn More!
Revolver• Download: http://bit.ly/19cai2D• Documentation: http://bit.ly/16CJmdL• Coffee => Coder => Code: http://bit.ly/19caMpF
![Page 12: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/12.jpg)
Learn More!
Sitecore PowerShell Extensions• Download: http://bit.ly/1eNpXwK• Resources: http://bit.ly/1aJc6lJ• Videos by Michael West: http://bit.ly/1bq2wag• Codality Blog: http://bit.ly/1dnldJS
![Page 14: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/14.jpg)
Questions?
![Page 15: Sitecore from the Command Line](https://reader035.vdocuments.mx/reader035/viewer/2022062323/5681617f550346895dd10ddc/html5/thumbnails/15.jpg)
Thank You!
Fin