Questions tagged [powershell-extensions]

Anything related to the Sitecore PowerShell Extensions (SPE) module or general Windows PowerShell.

Filter by
Sorted by
Tagged with
6
votes
2answers
276 views

Getting locked items SPE

I have a multisite Sitecore instance and I would like to get all locked items from all different sites and users and unlock them, is it possible to do this job using Sitecore Powershell Extensions?
3
votes
1answer
670 views

How do I parse a Rich Text in PowerShell in order to replace elements?

I have a requirement to read each rich text field and then edit the content with unordered lists rather than ordered.
8
votes
1answer
676 views

Update same rendering of several templates using SPE

I have a bunch of templates which have a Coveo Search Box View rendering associated on the standard values. I need to update the property "Reveal Advanced Query Suggestions" of all of them(a lot of ...
5
votes
1answer
492 views

Unable to get value of $_.Source using SPE

I have a rich text field in my user defined template and I want to replace the source value of the rich text field. Below is my query where I'm able to read Name, type etc, however $_.source is ...
7
votes
2answers
730 views

How to create Sitecore Context Item to copy Item Path using SPE?

How to create Sitecore Context Item to copy Item Path using Sitecore PowerShell Extensions. Like in below screen we have for Layout Copy Renderings and Quick download package. Sometimes it requires ...
38
votes
5answers
2k views

How can I programmatically add a rendering to all of my content items?

I need to add a rendering to all of the pages in my Sitecore tree (i.e., items that have renderings, have a layout set, and live under /sitecore/Content). Content items that don't have renderings or a ...