Skip to content

Commit cf06335

Browse files
author
ecfan
committed
Updates per feedback
1 parent 31fc219 commit cf06335

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/logic-apps/add-run-powershell-scripts.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.service: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, shahparth, azla
77
ms.topic: how-to
8-
ms.date: 07/01/2024
8+
ms.date: 08/15/2024
99
# Customer intent: As a logic app workflow developer, I want to write and run PowerShell code so that I can perform custom integration tasks in Standard workflows for Azure Logic Apps.
1010
---
1111

@@ -158,8 +158,8 @@ Gets the output from the workflow's trigger.
158158

159159
#### Syntax
160160

161-
```azurepowershell
162-
`Get-TriggerOutput`
161+
```powershell
162+
Get-TriggerOutput
163163
```
164164

165165
#### Parameters
@@ -172,7 +172,7 @@ Gets the output from another action in the workflow and returns an object named
172172

173173
#### Syntax
174174

175-
```azurepowershell
175+
```powershell
176176
Get-ActionOutput [ -ActionName <String> ]
177177
```
178178

@@ -195,7 +195,7 @@ Pushes output from the **Execute PowerShell Code** action to your workflow, whic
195195
196196
#### Syntax
197197

198-
```azurepowershell
198+
```powershell
199199
Push-WorkflowOutput [-Output <Object>] [-Clobber]
200200
```
201201

@@ -310,7 +310,7 @@ To find publicly available modules, visit the [PowerShell gallery](https://www.p
310310

311311
If you use dependency management, the following considerations apply:
312312

313-
- To download modules, public modules require access to the [PowerShell Gallery](https://www.powershellgallery.com). If you're running a logic app locally, make sure that the Azure Logic Apps runtime can access the gallery's URL (`https://www.powershellgallery.com`) by adding any required firewall rules.
313+
- To download modules, public modules require access to the [PowerShell Gallery](https://www.powershellgallery.com).
314314

315315
- Managed dependencies currently don't support modules that require you to accept a license, either by accepting the license interactively or by providing the **-AcceptLicense** option when you run **Install-Module**.
316316

@@ -336,7 +336,7 @@ When you're done, your complete logic app file structure appears similar to the
336336

337337
```text
338338
MyLogicApp
339-
- execute_powershell_script.ps1
339+
-- execute_powershell_script.ps1
340340
- host.json
341341
- Modules
342342
-- MyPrivateModule
@@ -361,7 +361,7 @@ Make sure that you use the **Push-WorkflowOutput** cmdlet.
361361

362362
### Execute PowerShell Code action fails: "The term '{some-text}' is not recognized..."
363363

364-
If you incorrectly add your module to the **requirements.psd1** file or when your private module doesn't exist in the following path: **C:\home\site\wwwroot\Modules\{moduleName}, you get the following error:
364+
If you incorrectly reference a public module in the **requirements.psd1** file or when your private module doesn't exist in the following path: **C:\home\site\wwwroot\Modules\{moduleName}, you get the following error:
365365

366366
**The term '{some-text}' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name or if a path was included, verify the path is correct and try again.**
367367

0 commit comments

Comments
 (0)