Quantcast
Channel: Code Samples – Codality
Browsing latest articles
Browse All 28 View Live

Image may be NSFW.
Clik here to view.

Sitecore 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 Article


Image may be NSFW.
Clik here to view.

PowerShell 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

React 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 Article

Re-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 Article


Image may be NSFW.
Clik here to view.

Zip 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 Article

Image may be NSFW.
Clik here to view.

Working 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 Article

Image may be NSFW.
Clik here to view.

Creating 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 Article


Image may be NSFW.
Clik here to view.

Sitecore 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 Article


Image may be NSFW.
Clik here to view.

Update 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 Article

Image may be NSFW.
Clik here to view.

Context 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 Article

Image may be NSFW.
Clik here to view.

EPiServer 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

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Copying 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 Article

Image may be NSFW.
Clik here to view.

Enable 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 Article


Sample 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 Article

Image may be NSFW.
Clik here to view.

Extending 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 Article


Continuous 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 Article

Image may be NSFW.
Clik here to view.

Set up Sitecore PowerShell Extensions development environment

Since we’ve seen some interest from developers wanting to join the Sitecore PowerShell Extensions team, I thought it might be worth documenting how my development environment is put together to allow...

View Article

Image may be NSFW.
Clik here to view.

Roll out multilingual item branches en masse using Sitecore PowerShell...

I’ve received this nice comment on one of my earlier posts and I thought it might warrant a blog post since it is a nice little challenge and might be useful for more scripters in our community. Hi...

View Article
Browsing latest articles
Browse All 28 View Live