Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 5833

Anything related to the Sitecore PowerShell Extensions (SPE) module

1 vote
3 answers
1k views

Sitecore Powershell skip items in System Folder

I am a powershell newbie. I have to write a Sitecore Powershell script where I need to check all the templates for a particular value. But I need to ignore templates inside /sitecore/templates/System/ …
NewbieHere's user avatar
1 vote
1 answer
1k views

Remove duplicate items from an array of items

I need to create an array of templates that refer to a particular rendering. In some templates, renderings are placed twice. So, array contains 2 copies of same templates. What is the sitecore powersh …
NewbieHere's user avatar
0 votes
2 answers
309 views

new-using block with remove-itemversion

While learning about Remove-ItemVersion, I came across below piece of code - New-UsingBlock(New-Object Sitecore.Data.Events.EventDisabler) { Remove-ItemVersion -Path master:\content\home -Langua …
NewbieHere's user avatar
0 votes
1 answer
83 views

Update Allowed Controls in Placeholder [closed]

I need to update "Allowed Controls" field of placeholder using Sitecore Powershell. I have used below code - $contentPlaceholder = Get-Item -Path "master:/sitecore/layout/Placeholder Settings/main" …
NewbieHere's user avatar
3 votes
1 answer
4k views

Sitecore Powershell script to add items in array

I am a Sitecore PowerShell newbie. I have to write a Sitecore PowerShell script to ignore certain items from consideration based on their template types. For this we can add these items to an array …
NewbieHere's user avatar
2 votes
1 answer
1k views

Sitecore Powershell Script to Delete All Items in Results

I need to delete all the items present in the list view on the click of the "delete all" action button. I am running the script - foreach($selectedItem in $allData) { $item = Get-Item -Pat …
NewbieHere's user avatar
1 vote
0 answers
93 views

Pagination on Update-ListView

I have written a PowerShell script as an action to delete selected items in the list view. The issue is - when I delete an item on any page other than the first one, after deletion, update-listview co …
NewbieHere's user avatar
1 vote
1 answer
1k views

Sitecore powershell script to delete selected items from results

Below is the Sitecore Powershell Script to delete selected items from Powershell script result - foreach($Item in $selectedData) { if($Item -ne $null) { $Item | Remove-Item } } …
NewbieHere's user avatar
0 votes
0 answers
125 views

Azure AD login triggered for powershell script

We are working in Sitecore 9.3. In the CM instance, we have configured a site as well for internal business users. The site uses Azure AD B2C for login using WsFederation. We are able to login to site …
NewbieHere's user avatar