Skip to main content

Posts Tagged ‘Sitecore Powershell’

Artificial Intelligence Digital Concept Abstract Brains Inside Light Bulb

Discovering Sitecore PowerShell Extension – Part 1

Discovering Sitecore PowerShell Reports Sitecore PowerShell is a popular and powerful module that can be used as a development accelerator.  It allows Developers, Content Authors, and Marketers to automate various tasks like content creation, audits, correction, etc. Apart from infinite possible usage with custom scripts, SPE already has provided a lot of ammunition in existing […]

Istock 691171106 (2)

Create a Scheduled Task to Run PowerShell Script with Sitecore Task Scheduler

We learned about how to create a Sitecore task scheduler in the previous article Create a scheduled task in Sitecore. In this article, we will learn about to Sitecore task scheduler using PowerShell Script For Example, To unpublish some Sitecore items after a certain date at a certain time. Consider, we have a PowerShell script […]

Optimizely Configured Commerce Best Practices

Add PowerShell Script to the Context Menu in Sitecore SXA

This blog describes how to make any PowerShell script appear in the context menu of an item in Sitecore SXA. As a result, these menu options should only be available when necessary. We’ll also see ShowRule and EnableRule fields in the PowerShell script items for hiding/showing and enabling/disabling based on some fundamental Sitecore rules. Context […]


Changing SXA Placeholders Post Content Creation

Continuing Sitecore development on an already live site can bring about new challenges that did not exist prior to go-live. For example, if a particular component is already being used by content authors, you do not want to introduce changes to said component that would break pre-existing uses of it on various pages. The Problem […]

Istock 696570136

Sitecore Powershell 7: Creating Reports

One scenario you may encounter is wanting to create a report containing information about our Sitecore instance and its content. In this blog, we will see a few methods of how we can create reports using Sitecore Powershell. Exporting Data as Plain Text File Using Out-Download Command The Out-Download command is used to prompt the […]

Istock 843015650

Sitecore Powershell 6: Working with Item References

We have seen scenarios where we want to know about Item references. For instance, suppose we want to get a list of items that have SideContent Rendering assigned to their presentation. This is the exact kind of information that we are going to extract using different commands detailed in this post. One thing to note […]

Istock 948997140

Sitecore Powershell 5: Working with Renderings

Renderings are one of the most important parts of the Sitecore Presentation. With Sitecore Powershell, we can extract information about renderings that are attached to particular item. Let’s see different commands that can be used to extract and manipulate the rendering information of an item. Get-Rendering Using this command, we can get the information about […]

How natural language search helps deliver personalization

Sitecore Powershell 4: Using ContentSearch API with the Help of Find-Item

In previous posts of this blog series, we have seen how we can use Get-Item and Get-ChildItem to fetch items from our Sitecore instance. Get-ChildItem command is very slow if we have a large number of items to fetch. This is the same when we try to fetch a large number of items by using […]

Replacing Dirty Ac Filter

Sitecore Powershell 3: Filtering the Result Set Using Where-Object

In the previous post, we saw how to use Get-Item and GetChildItem to retrieve information about Sitecore items. These are useful when we want every item that fits under the given Path to be retrieved. Now, let’s discuss more about what problems can be solved using Where-Object. Get-ChildItem cmdlet retrieves a list of children of […]

Adult Dog Playing Catch And Fetch With Plastic Disk Outdoor

Sitecore Powershell 2: Retrieving Item Information

In my last post, I gave an overview of Sitecore Powershell and how to install the Sitecore Powershell Extension. Sitecore Powershell can also be used to work with Sitecore items. In this blog, we will see how we can use it to retrieve information about items in our content tree. We would be using Get-item […]

It's All About Teamwork. This Is Tug Of War With Dad On Beautiful Grass Of Sunny Warm Day

Sitecore Powershell Extension 1: Installation and Overview

The Sitecore Powershell Extension is a module that provides a command-line interface and scripting environment to work with the Sitecore platform. Using the Powershell Extension, we can perform various operations of Sitecore items, as well as allow access to Sitecore APIs. It looks and works in the same way as the Windows Powershell utility. Sitecore […]