Skip to content

Commit 2ab7c4e

Browse files
committed
feedback incorporated
1 parent 4df4e30 commit 2ab7c4e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

articles/automation/automation-runbook-authoring.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Runbook authoring using VS code in Azure Automation
33
description: This article provides an overview authoring runbooks in Azure Automation using the visual studio code.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 01/06/2023
6+
ms.date: 01/10/2023
77
ms.topic: conceptual
88
ms.custom: devx-track-azurepowershell
99
---
@@ -28,7 +28,7 @@ The test matrix includes the following operating systems:
2828
1. **Ubuntu** 20.04 with PowerShell Core 7.2.7
2929

3030
>[!NOTE]
31-
>- The extension should work anywhere in VS Code and it supports [PowerShell 7.2 or higher](https://learn.microsoft.com/powershell/scripting/install/PowerShell-Support-Lifecycle?view=powershell-7.3). Currently, we support only the Windows PowerShell 5.1.
31+
>- The extension should work anywhere in VS Code and it supports [PowerShell 7.2 or higher](https://learn.microsoft.com/powershell/scripting/install/PowerShell-Support-Lifecycle?view=powershell-7.3). For Windows PowerShell, only version 5.1 is supported.
3232
>- PowerShell Core 6 is end-of-life and not supported.
3333
3434

@@ -37,7 +37,7 @@ The test matrix includes the following operating systems:
3737
- **Simplified onboarding** – You can sign in using an Azure account in a simple and secure way.
3838
- **Multiple languages** - Supports all Automation runtime stack such as PowerShell 5, PowerShell 7, Python 2, and Python 3 Runbooks.
3939
- **Supportability**- Supports test execution of job, publishing Automation job and triggering job in Azure and Hybrid workers. You can execute runbooks locally.
40-
Supports Python positional parameters and PowerShell parameters to trigger job.
40+
- Supports Python positional parameters and PowerShell parameters to trigger job.
4141
- **Webhooks simplified** – You can create a webhook, start a job through a webhook in simpler way. Also, support to link a schedule to a Runbook.
4242
- **Manage Automation Assets** – You can perform create, update, and delete operation against assets including certificates, variables, credentials, and connections.
4343
- **View properties** – You can view the properties and select Hybrid worker group to execute hybrid jobs and view the recent last 10 jobs executed.
@@ -48,14 +48,13 @@ Supports Python positional parameters and PowerShell parameters to trigger job.
4848

4949
- **Local directory configuration settings** - You can define the working directory that you want to save runbooks locally.
5050
- **Change Directory:Base Path** - You use the changed directory path when you reopen Visual Studio code IDE. To change the directory using the Command Palette, use **Ctrl+Shift+P -> select Change Directory**. To change the base path from extension configuration settings, select **Manage** icon in the activity bar on the left and go to **Settings > Extensions > Azure Automation > Directory:Base Path**.
51-
- **Change Directory:Folder Structure** - You can change the local directory folder structure from *vscodeAutomation/accHash* to *subscription/resourceGroup/automationAccount*. Select **Manage** icon in the activity bar on the left and go to **Settings > Extensions > Azure Automation > Directory:Folder Structure**.
52-
- **Change default configuration setting** - You can change the default configuration setting from *vscodeAutomation/accHash* to *subscription/resourceGroupe/automationAccount* format.
51+
- **Change Directory:Folder Structure** - You can change the local directory folder structure from *vscodeAutomation/accHash* to *subscription/resourceGroup/automationAccount*. Select **Manage** icon in the activity bar on the left and go to **Settings > Extensions > Azure Automation > Directory:Folder Structure**. You can change the default configuration setting from *vscodeAutomation/accHash* to *subscription/resourceGroupe/automationAccount* format.
5352
>[!NOTE]
5453
>If your automation account is integrated with source control you can provide the runbook folder path of your GitHub repo as the directory path. For example: changing directory to *C:\abc* would store runbooks in *C:\abc\vscodeAutomation..* or *C:\abc//subscriptionName//resourceGroupName//automationAccountName//runbookname.ps1*.
5554
- **Runbook management operations** - You can create runbook, fetch draft runbook, fetch published runbook, open local runbook in the editor, compare local runbook with a published or draft runbook copy, upload as draft, publish runbook, and delete runbook from your Automation account.
5655
- **Runbook execution operations** - You can run a local version of Automation jobs such as, Start Automation jobs, Start Automation test job, view job outputs and run local version of the PowerShell Runbook in debug mode by allowing you to add breakpoints in the script.
5756
>[!NOTE]
58-
> Currently, we support only the use of internal cmdlets like `Get-AutomationVariable` and the non-encrypted assets.
57+
> Currently, we support the use of internal cmdlets like `Get-AutomationVariable` only with non-encrypted assets.
5958
6059
- **Work with schedules, assets and webhooks** - You can view the properties of a schedule, delete schedule, link schedule to link a schedule to a runbook.
6160
- **Add webhook** - You can add a webhook to the runbook.
@@ -66,9 +65,9 @@ Supports Python positional parameters and PowerShell parameters to trigger job.
6665
Currently, the following features aren't supported:
6766

6867
- Creation of new schedules.
69-
- Adding new certificates.
68+
- Adding new Certificates in Assets.
7069
- Upload Modules (PowerShell and Python) packages from the extension.
71-
- Auto-sync of local runbooks to Azure Automation account runbooks. Perform the **Fetch** or **Publish** runbook.
70+
- Auto-sync of local runbooks to Azure Automation account. You will have to perform the operation to **Fetch** or **Publish** runbook.
7271
- Management of Hybrid worker groups.
7372
- Graphical runbook and workflows.
7473
- For Python, we don't provide any debug options. We recommend that you install any debugger extension in your Python script.

articles/automation/how-to/runbook-authoring-extension-for-vscode.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
---
22
title: Azure Automation extension for Visual Studio Code
33
description: Learn how to use the Azure Automation extension for Visual Studio Code to author runbooks.
4-
ms.date: 01/06/2023
4+
ms.date: 01/10/2023
55
ms.topic: how-to
66
---
77

88
# Use Azure Automation extension for Visual Studio Code
99

10-
This article explains about the Visual Studio that you can use to create and manage runbooks. You can perform all runbook management operations such as creating runbooks, editing runbook, triggering a job, tracking recent jobs outputs, linking a schedule and asset management.
10+
This article explains about the Visual Studio that you can use to create and manage runbooks. You can perform all runbook management operations such as creating runbooks, editing runbook, triggering a job, tracking recent jobs outputs, linking a schedule, asset management and local debugging.
1111

1212

1313
## Prerequisites
1414

1515
The following items are required for completing the steps in this article:
1616

1717
- An Azure subscription. If you don't have an Azure subscription, create a
18-
[free account](https://azure.microsoft.com/free/) before you begin [Visual Studio Code](https://code.visualstudio.com).
18+
[free account](https://azure.microsoft.com/free/)
19+
- [Visual Studio Code](https://code.visualstudio.com).
1920
- PowerShell modules and Python packages used by runbook must be locally installed on the machine to run the runbook locally.
2021

2122
## Install and configure the Azure Automation extension
@@ -31,7 +32,7 @@ following these steps:
3132

3233
## Using the Azure Automation extension
3334

34-
The extension simplifies the process of editing runbooks. You can now test them locally without logging into the Azure portal. The various actions that you can perform are listed below:
35+
The extension simplifies the process of creating and editing runbooks. You can now test them locally without logging into the Azure portal. The various actions that you can perform are listed below:
3536

3637
### Create a runbook
3738

0 commit comments

Comments
 (0)