Questions tagged [powershell]

Issues relating to the PowerShell scripting language. This can include the stand-alone PowerShell scripts run from the command-line, or PowerShell DSC install automations.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
38 views

Powershell script to update personalization rule

I want to update personalization rule for all the pages which have one common rendering. Is it possible using powershell we can identify the rendering and update personalization rule to target page ...
1
vote
0answers
36 views

Sitecore PowerShell Remoting doesn't work with http://localhost/ and http://127.0.0.1/ addresses

I have Sitecore 9.3 with SXA and SPE 6.0 installed in a Docker container. docker-compose.yml map containers 80 port to 80 on local machine. ports: - "80:80" I have an additional ...
1
vote
1answer
56 views

Trigger publish as part of deployment

We have a set up with CM, CD1, CD2. Both CDs have their own 'web' database (cd1 and cd2). We are currently using DevOps to run a powershell script that deploys to each machine. We would like to ...
1
vote
1answer
44 views

MediaCache remove item error during deployment

During deployment on CD server we're first removing complete website from root directory and then adding custom code on top of that through PowerShell script. During this time we're getting below ...
1
vote
0answers
41 views

Error while install a Sitecore content package using SPE in Sitecore XP 9.3

On day to day basis we need to install some content packages from one environment to another. For that we are using SPE module and the below script to install the package zip. But it usually fails due ...
1
vote
0answers
62 views

Sitecore smart publish failing with remote script block using powershell

Invoking RemoteScript block and publishing item on remote server through octopus but getting error. [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Import-Module -Name ...
1
vote
0answers
23 views

Sitecore 9.1 distributed architecture - how to create two processing node through PS script

Sitecore 9.1 initial release . Is there a way to create two processing nodes with PowerShell script or should it be done manually. If it needs to be done manually, what all settings to be taken care ...
1
vote
0answers
44 views

License error to Execute razl exe from sitecore powershell script

I am trying to automate content migration to upper environment using razl and sitecore powershell. While executing razl exe through sitecore powershell module, getting license error. error: you do not ...
1
vote
0answers
34 views

Sitecore PowerShell access allow/deny at same time

Hello Sitecore SPE Experts, I have a very basic question, hope anyone help me: I am using something like below Add-ItemAcl -Path master:\content\home -AccessRight "item:read" -PropagationType Any - ...
1
vote
1answer
206 views

SIF cannot be installed or updated because the authenticode signature of the file is not valid

I'm trying to install SIF module using PS command. But unfortunately I could not succeed in doing so. PS Version: 5.1 Please refer below snap shot for error details -
1
vote
1answer
145 views

Event handler PowerShell/Services/RemoteScriptCall.ashx call giving 503 error

I have a local Sitecore instance with name sc90.local and I am trying to publish files on local instance using gulp. Response error: Upload failed: styles.css Status code:503 URL: POST http://sc90....
1
vote
2answers
124 views

Is it possible to edit items via SIF

Installing Sitecore Commerce 9.0.3 with adjusted URLs (changing everything localhost), I made adjustments to the installation process with SIF. For example, I fix the localhost URLs in the Sitecore....
1
vote
0answers
198 views

Sitecore Commerce 9 Update 1 Installation Issue with SPE 4.7.2

I tried to install Sitecore Commerce using PowerShell script but I got the error that resource is not found for Sitecore PowerShell Extensions 4.7.2 although I have this zip package for Sitecore 9 ...
1
vote
0answers
139 views

Powershell script fails on trying to start website when installing the Sitecore 9.0.1

My powershell script fails when I try to run it on the Azure VM. The local installation passes successfully. Any help is appreciated :) > [-------------------------------------------- ...
0
votes
1answer
34 views

Sitecore 9.0.1 installation is failing with Solr 6.6.3

I already have 2 instances running on my machine with Solr version 6.6.2 for POC purpose I am installing Sitecore 9.0.1 instance with Solr version 6.6.3.Solr is installed using the powershell script ...
0
votes
0answers
25 views

What is the difference between using the Sitecore gutter to unlock an item and using the command button in the Sitecore Ribbon?

I am working on creating an SPE version of unlocking an item in Sitecore I can assign to content editors so an administrator does not have to do it. Unlocking an item using the Sitecore ribbon seems ...
0
votes
0answers
23 views

Powershell -ErrorAction not working for Receive-File

I have created the utility to upload a files using Receive-File. Its working fine however if user missed to choose the file and clicked "OK" button in that case I am getting the error ...
0
votes
0answers
210 views

How to replace an item with another item by ID in Treelist field using Powershell?

I want to replace an item with another item in a Treelist. Basically, the items I want to replace are broken links. Suppose, There are two items A and B. A is used in a Treelist field, so I want to ...