Skip to content

Commit 7f9d956

Browse files
author
ecfan
committed
Fix Acrolinx issues
1 parent c4c68d4 commit 7f9d956

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
@@ -21,7 +21,7 @@ To perform custom integration tasks inline with your Standard workflow in Azure
2121

2222
This capability provides the following benefits:
2323

24-
- Write your own scripts within the workflow designer to solve complex integration challenges. No other service plans are necessary.
24+
- Write your own scripts within the workflow designer so you can solve complex integration challenges. No other service plans are necessary.
2525

2626
This benefit streamlines workflow development plus reduces the complexity and cost with managing more services.
2727

@@ -45,7 +45,7 @@ This guide shows how to add the action in your workflow and add the PowerShell c
4545

4646
- The Azure portal saves your script as a PowerShell script file (.ps1) in the same folder as your **workflow.json** file, which stores the JSON definition for your workflow, and deploys the file to your logic app resource along with the workflow definition.
4747

48-
The .ps1 format lets you write less "boilerplate" and focus just on writing PowerShell code. You can rename the .ps1 file for easier management during deployment. However, each time you rename the script, the new version overwrites the previous version.
48+
The **.ps1** file format lets you write less "boilerplate" and focus just on writing PowerShell code. You can rename the .ps1 file for easier management during deployment. However, each time you rename the script, the new version overwrites the previous version.
4949

5050
- The script is local to the workflow. To use the same script in other workflows, [view the script file in the **KuduPlus** console](#view-script-file), and then copy the script to reuse in other workflows.
5151

@@ -101,7 +101,7 @@ This guide shows how to add the action in your workflow and add the PowerShell c
101101
Push-ActionOutputs -body $results
102102
```
103103

104-
1. When you're done, save your workflow.
104+
1. When you finish, save your workflow.
105105

106106
<a name="view-script-file"></a>
107107

@@ -252,7 +252,7 @@ A module organizes PowerShell code, making it easier to distribute. For example,
252252

253253
To find publicly available modules, visit the [PowerShell gallery](https://www.powershellgallery.com). A Standard logic app resource can support up to 10 public modules. To use any public module, you must enable this capability by following these steps:
254254

255-
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menu, under **Development Tools**, select **Advanced Tools**.
255+
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menus, under Development Tools, select **Advanced Tools**.
256256

257257
1. On the **Advanced Tools** page, select **Go**.
258258

@@ -268,7 +268,7 @@ To find publicly available modules, visit the [PowerShell gallery](https://www.p
268268
}
269269
```
270270

271-
1. Open the file named **requirements.psd1**, and include the name and version for the module that you want to use using the following syntax: **MajorNumber.\*** or the exact module version, for example:
271+
1. Open the file named **requirements.psd1**. Include the name and version for the module that you want by using the following syntax: **MajorNumber.\*** or the exact module version, for example:
272272

273273
```powershell
274274
@{
@@ -289,7 +289,7 @@ If you use dependency management, the following considerations apply:
289289

290290
You can generate your own private PowerShell modules. To create your first PowerShell module, see [Write a PowerShell Script Module](/powershell/scripting/developer/module/how-to-write-a-powershell-script-module).
291291

292-
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menu, under **Development Tools**, select **Advanced Tools**.
292+
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menu, under Development Tools, selects **Advanced Tools**.
293293

294294
1. On the **Advanced Tools** page, select **Go**.
295295

@@ -332,13 +332,13 @@ To use the managed identity from inside the **Execute PowerShell Code** action,
332332

333333
On the target Azure resource, review the following considerations:
334334

335-
- On the **Role** tab, selecting a **Contributor** role is usually sufficient.
335+
- On the **Role** tab, a **Contributor** role is usually sufficient.
336336

337337
- On the **Add role assignment** page, on the **Members** tab, for the **Assign access to** property, make sure that you select **Managed identity**.
338338

339339
- After you select **Select members**, on the **Select managed identities** pane, select the managed identity that you want to use.
340340

341-
1. In your **Execute PowerShell Code** action, include the following code as the first line:
341+
1. In your **Execute PowerShell Code** action, include the following code as the first statement:
342342

343343
```powershell
344344
Connect-AzAccount -Identity

0 commit comments

Comments
 (0)