Skip to content

Commit 5537e0c

Browse files
Merge pull request #214672 from SnehaSudhirG/16Oct-PSandPYupdates
added info on PS7.2 and Python 3.10
2 parents 93fdd26 + 6d9d352 commit 5537e0c

10 files changed

+334
-146
lines changed

articles/automation/automation-child-runbooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create modular runbooks in Azure Automation
33
description: This article explains how to create a runbook that another runbook calls.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 10/29/2021
6+
ms.date: 10/16/2022
77
ms.topic: how-to
88
ms.custom: devx-track-azurepowershell
99
#Customer intent: As a developer, I want create modular runbooks so that I can be more efficient.
@@ -45,7 +45,7 @@ Currently, PowerShell 5.1 is supported and only certain runbook types can call e
4545
* The PowerShell types and the PowerShell Workflow types can't call each other inline. They must use `Start-AzAutomationRunbook`.
4646

4747
> [!IMPORTANT]
48-
> Executing child scripts using `.\child-runbook.ps1` is not supported in PowerShell 7.1 preview.
48+
> Executing child scripts using `.\child-runbook.ps1` is not supported in PowerShell 7.1 and PowerShell 7.2 (preview).
4949
**Workaround**: Use `Start-AutomationRunbook` (internal cmdlet) or `Start-AzAutomationRunbook` (from *Az.Automation* module) to start another runbook from parent runbook.
5050

5151
The publish order of runbooks matters only for PowerShell Workflow and graphical PowerShell Workflow runbooks.

articles/automation/automation-powershell-workflow.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Learn PowerShell Workflow for Azure Automation
33
description: This article teaches you the differences between PowerShell Workflow and PowerShell and concepts applicable to Automation runbooks.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 10/29/2018
6+
ms.date: 10/16/2022
77
ms.topic: conceptual
88
ms.custom: devx-track-azurepowershell
99
---
@@ -14,8 +14,7 @@ Runbooks in Azure Automation are implemented as Windows PowerShell workflows, Wi
1414
While a workflow is written with Windows PowerShell syntax and launched by Windows PowerShell, it is processed by Windows Workflow Foundation. The benefits of a workflow over a normal script include simultaneous performance of an action against multiple devices and automatic recovery from failures.
1515

1616
> [!NOTE]
17-
> This article is applicable for PowerShell 5.1; PowerShell 7.1 (preview) does not support workflows.
18-
> A PowerShell Workflow script is very similar to a Windows PowerShell script but has some significant differences that can be confusing to a new user. Therefore, we recommend that you write your runbooks using PowerShell Workflow only if you need to use [checkpoints](#use-checkpoints-in-a-workflow).
17+
> This article is applicable for PowerShell 5.1; PowerShell 7.1 (preview) and PowerShell 7.2 (preview) does not support workflows. A PowerShell Workflow script is very similar to a Windows PowerShell script but has some significant differences that can be confusing to a new user. Therefore, we recommend that you write your runbooks using PowerShell Workflow only if you need to use [checkpoints](#use-checkpoints-in-a-workflow).
1918
2019

2120
For complete details of the topics in this article, see [Getting Started with Windows PowerShell Workflow](/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/jj134242(v=ws.11)).

articles/automation/automation-runbook-gallery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Azure Automation runbooks and modules in PowerShell Gallery
33
description: This article tells how to use runbooks and modules from Microsoft GitHub repos and the PowerShell Gallery.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 10/29/2021
6+
ms.date: 10/27/2022
77
ms.topic: conceptual
88
---
99
# Use existing runbooks and modules

articles/automation/automation-runbook-types.md

Lines changed: 148 additions & 75 deletions
Large diffs are not rendered by default.

articles/automation/automation-webhooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Consider the following strategies:
9090
## Create a webhook
9191

9292
> [!NOTE]
93-
> When you use the webhook with PowerShell 7 runbook, it auto-converts the webhook input parameter to an invalid JSON. For more information, see [Known issues - 7.1 (preview)](./automation-runbook-types.md#known-issues---71-preview). We recommend that you use the webhook with PowerShell 5 runbook.
93+
> When you use the webhook with PowerShell 7 runbook, it auto-converts the webhook input parameter to an invalid JSON. For more information, see [Known issues - PowerShell 7.1 (preview)](./automation-runbook-types.md#limitations-and-known-issues). We recommend that you use the webhook with PowerShell 5 runbook.
9494
9595
1. Create PowerShell runbook with the following code:
9696

articles/automation/learn/automation-tutorial-runbook-textual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Tutorial - Create a PowerShell Workflow runbook in Azure Automation
33
description: This tutorial teaches you to create, test, and publish a PowerShell Workflow runbook.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 10/28/2021
6+
ms.date: 10/16/2022
77
ms.topic: tutorial
88
ms.custom: devx-track-azurepowershell
99
#Customer intent: As a developer, I want use workflow runbooks so that I can automate the parallel starting of VMs.
@@ -14,7 +14,7 @@ ms.custom: devx-track-azurepowershell
1414
This tutorial walks you through the creation of a [PowerShell Workflow runbook](../automation-runbook-types.md#powershell-workflow-runbooks) in Azure Automation. PowerShell Workflow runbooks are text runbooks based on Windows PowerShell Workflow. You can create and edit the code of the runbook using the text editor in the Azure portal.
1515

1616
>[!NOTE]
17-
> This article is applicable for PowerShell 5.1; PowerShell 7.1 (preview) does not support workflows.
17+
> This article is applicable for PowerShell 5.1; PowerShell 7.1 (preview) and PowerShell 7.2 (preview) don't support workflows.
1818
1919
In this tutorial, you learn how to:
2020

-6.81 KB
Loading
-153 KB
Loading
19.1 KB
Loading

0 commit comments

Comments
 (0)