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 10179

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.

2 votes
1 answer
203 views

Not publish item after moving its workflow state through PowerShell script

I am moving workflow state through Powershell script to approved state. However, it is not publishing that item in the web database. Code:- $item.Editing.BeginEdit() $item. …
Nisha's user avatar
  • 421
1 vote
2 answers
2k views

Get dropdown values through Powershell script

I am using the below code in PoweerShell script:- $options = @{ "A"="a" "B"="b" } $props = @{ Parameters = @( @{Name="selectedOption"; Title="Choose an option"; Options=$options; …
Nisha's user avatar
  • 421
0 votes
1 answer
716 views

Add script in Item context menu

I would like to add PowerShell script on the home item context menu. I have added in Script library by creating a Content Editor followed by a Context menu folder. …
Nisha's user avatar
  • 421
1 vote
2 answers
98 views

Get Teaser component SXA style in Powershell script

I would like to get selected SXA style of the Teaser component in Powershell script. I have a teaser component where i have selected SXA style on Experience editor . … I would like to get selected SXA style of that component in Powershell script. Is it possible ? Kindly assist me. …
Nisha's user avatar
  • 421
0 votes
4 answers
401 views

Get workflow id in Powershell script

Can we get workflow id if we have workflow name in Powershell script? Scenario 1: I have workflow name "Test workflow" based on its name can I get its id in Powershell script? … Scenario 2: Can we get workflow state id as well if I have workflow state name in Powershell script? …
Nisha's user avatar
  • 421