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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 95

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

3
votes
1answer
I have a requirement to read each rich text field and then edit the content with unordered lists rather than ordered.
asked Oct 3 '16 by Michael West
3
votes
First I recommend you not allow the user to click the PowerShell ISE and Console shortcuts. Those are interfaces designed for a Developer or Admin. As noted in the book, the Script menu is allowed fo …
answered Dec 7 '17 by Michael West
7
votes
Here are a few examples I was able to figure out today. I welcome any recommendations on a better way to do this. Each example loops through the list of agents in the configuration then creates and s …
answered Nov 16 '16 by Michael West
6
votes
There are two points to consider. Call Depth Limit Windows Powershell may have a call depth limit of 100. Consider changing your code to use tail-recursion trampolines as pointed out in the article …
answered Feb 19 '18 by Michael West
2
votes
The Scripts context menu actually uses a different item in the core db. The security settings can be seen here. In SPE 4.7 you should expect the visibility to respect sitecore\Sitecore Limited Conten …
answered Nov 8 '17 by Michael West
5
votes
I assume your question is requesting how to do this using Sitecore PowerShell Extensions. There are a number of builtin variables that SPE generates. I recommend you make use of those before using th …
answered Oct 4 '17 by Michael West
5
votes
Have a look here in the SPE book regarding the Unlock-Item command. Example: The following will unlock the direct descendants of the home item. Get-ChildItem -Path master:\content\home | Unlock-Ite …
answered Oct 4 '16 by Michael West
5
votes
1answer
I have some items created using New-Item but they are automatically sorted alphabetically. I would much prefer these items to be sorted by Created date. How do you change the sort order of items usin …
asked Dec 10 '18 by Michael West
2
votes
SPE provides a few variables you can use in your script. The variable SitecoreDataFolder is perhaps what is needed in your script since it resolves the full path to the folder. Looking at the sourc …
answered Feb 18 by Michael West
1
vote
Another option you can consider is to use the Value property on the returned field. Example: Access a field value using the Value property. @{Label="Redirect To"; Expression={ Get-PathFromId($_.Fiel …
answered Jan 14 '17 by Michael West
2
votes
1answer
I'm trying to add an html link to each row containing a reference to an arbitrary item. Essentially I want to load a custom item, but it not be the same item as the record. I tested with both scForm …
asked Jan 28 '18 by Michael West
8
votes
The SPE Gitbook provides some alternate examples using the $using:VARIABLE syntax. Example: The following will pass the $data object into the scriptblock for remote execution. Import-Module -Name SP …
answered Oct 29 '16 by Michael West
4
votes
You'll want to make use of the Wait-RemoteScriptSession command. A more ideal scenario than increasing the web.config timeout is to simply poll the server for updates. Another idea after discussing co …
answered Aug 3 '17 by Michael West
6
votes
Perhaps I can help add some clarity in the use of BeginEdit and EndEdit while using Sitecore PowerShell Extensions. In most situations you do not need to use either of those while editing an item fie …
answered Dec 9 '16 by Michael West
3
votes
If you combine the answer from @Anton and @Sreekrishnan you get a nice and fast report. $query = "fast:/sitecore/content//*[@__renderings='%<conditions%' or @#__Final Renderings#='%<conditions%']" $i …
answered Jul 3 '18 by Michael West

15 30 50 per page