PowerShell for EPiServer – cheat sheet – Part 2
Most of this post is also based on the Microsoft’s Windows PowerShell Quick Reference however despite the sharing scripting runtimes the nature of the both shells differ considerably as described in...
View ArticleCopying files between path providers with PowerShell in EPiServer
We had a situation in the company this week which required us to deliver the whole EPiServer virtual path provider file structure to the client – zipped. Easy enough… go to the EpiServer VPP directory...
View ArticleEnable Sitecore DMS Analytics behind a proxy or a CDN
Should you put your Sitecore site behind a load balancing proxy you will run into a bit of a problem with analytics where all the Engagement Analytics app would ever report would be your own load...
View ArticleSample scripts for Sitecore PowerShell Console
Find out about your configuration: List your available site providers. You will use the name provided in the "Name" column in place of where I use "cms" in the later samples. get-psdrive ` |...
View ArticleExtending Sitecore ribbon with PowerShell scripts
Sitecore is built from the grounds up with extendibility in mind. Be that plugging into any place in its internal pipelines or any aspect of its User eXperience, therefore when I’ve managed to extend...
View ArticleContinuous deployment in Sitecore with PowerShell
A few days back a budy from our Sitecore team has alerted me to this interesting question on StackOverflow which asks for automation of content promotion from one Sitecore instance to another. He...
View ArticleSitecore PowerShell Console cheat sheet – Part 1
I’m realizing time and time again that the learning curve for PowerShell can be steep without a proper guidance. While most people I talk to are very excited about the concept they become discouraged...
View ArticlePowerShell Scripted data sources in Sitecore (Part 2)
There are 2 more ways I’ve managed to find and implement that you can control data sources with PowerShell: rendering data source roots rendering data source itself The motivation would be similar to...
View ArticleHow Sitecore PowerShell got GUI support… a tale of JobMonitor and Sitecore...
One thing I always wanted to add to the Cognifide PowerShell Console for Sitecore but never had the chance to investigate properly, was GUI and user interaction. For example in a regular PowerShell...
View ArticleReact to Sitecore events with PowerShell scripts
Kieranties must be the biggest PowerShell nerd (together with yours truly) I’ve had a privilege to chat with (I guess this implies I talk to myself?). So it shouldn’t be a surprise when the two...
View ArticleRe-create a site structure from its sitemap in your Sitecore instance with...
Last night I needed to reproduce really quickly a site structure we will be moving from another CMS and create a matching item hierarchy in my Sitecore instance… I could face an hour or so of boring...
View ArticleZip and Download Sitecore Media Library Folder with PowerShell
I’ve decided to 1-up the game from my previous post and zip something that isn’t really a real file but rather a blob in a Sitecore database. The script below is based heavily on the last post but...
View ArticleWorking with Sitecore items in PowerShell Extensions
Reading some of the blogs from the Sitecore community I find it pretty apparent that we didn’t do a great job advocating the optimizations that PowerShell Extensions have introduced for working with...
View ArticleCreating beautiful Sitecore reports easily with PowerShell Extensions
Creating reports is probably a task that every developer dread. I for once always felt like listening to Tennessee Ernie Ford’s “16 Tons” every time when I was supposed to do it for yet another...
View ArticleSitecore PowerShell Extensions Persistent Sessions
If you’re reading this, chances are you’ve probably read about the ways of putting scripts in the Content Editor ribbon or Context Menu. Those are some simple and quick ways of extending the Sitecore...
View ArticleUpdate to State of knowledge for PowerShell Extensions for Sitecore –...
It’s been a while since my last summary on April 2012 but finally getting to update the Reference page with the latest community summary for Sitecore PowerShell Extensions. Following are the updates I...
View ArticleEasy Enum property for EPiServer
One of the most frequently and eagerly used programming constructs of the Microsoft.Net Framework is Enum. There are several interesting features that make it very compelling to use to for all kinds...
View ArticleThe Console of Mass Content Management
This one definitely took more time than I initially expected, and before I devote even more to it I would very much like to hear your opinion. Do you find it useful? Which way should the development...
View ArticleContext PowerShell Scripts in EPiServer
Ok, so I’ve got my shot of endorphins writing about PowerShell last week (damn, it’s nice to be able to code again!), and I got pretty determined on making it usable and achieving all the goals I’ve...
View ArticleEPiServer Admin Mode PowerShell scripts
The PowerShell plugin gets an update once again to support Admin mode script collections in addition to the context scripts. How to write an Admin mode script collections?...
View Article