Contents
Is the Sitecore version of PowerShell still supported?
Review issue #1109 to see the full scope of what changed. Any place where the name Cognifide or Cognifide.PowerShell was used is now replaced with Spe. Sitecore versions 7.x and below are no longer supported with the release of SPE 5.0.
Is the / Sitecore part of the path optional?
As you may have noticed, the /sitecore portion of the path is unnecessary. This is because the Sitecore item is represented by the root item of the drive master: and is therefore optional. Let’s have a look at the equivalent code in C#.
Is there a SPE module for Sitecore 7.x?
The irony is that it’s recorded for Sitecore version 7.x which is no longer supported. ¯\\(ツ)\\/¯ The SPE module installs like any other for Sitecore. Download the module from the GitHub releases page and install through the Installation Wizard.
How to work with items in Sitecore Stack Exchange?
Workaround found here on Sitecore Stack Exchange. Example: The following retrieves all items beneath the path /sitecore/content/ with the template of Sample Item. Example: The following retrieves all items beneath the path /sitecore/content/ with the template of Sample Item in all versions and languages.
Is the Sitecore CLI compatible with SPE 4.7?
SPE 4.7+ Compatible for Sitecore 7.0-9.1. The module provides a command line (CLI) and scripting environment (ISE) for automating tasks. SPE works with the Sitecore process, capable of making native calls to the Sitecore API.
How to disable Sitecore security in PowerShell script?
Keep in mind that this can be bypassed just as can be done through the Sitecore API as PowerShell scripts can call the APIs that disable the Sitecore security. Application Security The following settings are configured under core:\\content\\Applications\\PowerShell.
When to enable password protection in Sitecore 9.1?
Gates with Password protection enabled prompt the user when no elevated session is available. Note: If you are using Sitecore 9.1 or later with Identity Server, there is a configuration file that should be enabled.