You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/automation-runbook-gallery.md
+10-28Lines changed: 10 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@ ms.service: automation
6
6
ms.subservice: process-automation
7
7
author: georgewallace
8
8
ms.author: gwallace
9
-
ms.date: 03/11/2019
9
+
ms.date: 03/12/2019
10
10
ms.topic: conceptual
11
11
manager: carmonm
12
12
---
13
13
# Runbook and module galleries for Azure Automation
14
14
15
15
Rather than creating your own runbooks and modules in Azure Automation, you can access scenarios that have already been built by Microsoft and the community.
16
16
17
-
You can get runbooks from the [Runbook Gallery](#runbooks-in-runbook-gallery) and modules from the [PowerShell Gallery](#modules-in-powerShell-gallery). You can also contribute to the community by sharing scenarios that you develop, see [Adding a runbook to the gallery](automation-runbook-gallery.md#adding-a-runbook-to-the-runbook-gallery)
17
+
You can get [PowerShell runbooks](#runbooks-in-runbook-gallery) and [modules](#modules-in-powerShell-gallery) from the PowerShell Gallery and [Python runbooks](#python-runbooks) from the Script Center Gallery. You can also contribute to the community by sharing scenarios that you develop, see [Adding a runbook to the gallery](#adding-a-runbook-to-the-runbook-gallery)
18
18
19
19
## Runbooks in PowerShell Gallery
20
20
@@ -25,7 +25,7 @@ You can only import directly from the PowerShell Gallery using the Azure portal.
25
25
> [!NOTE]
26
26
> You should validate the contents of any runbooks that you get from the PowerShell Gallery and use extreme caution in installing and running them in a production environment.
27
27
28
-
### To import a runbook from the Runbook Gallery with the Azure portal
28
+
### To import a PowerShell runbook from the Runbook Gallery with the Azure portal
29
29
30
30
1. In the Azure portal, open your Automation account.
31
31
2. Under **Process Automation**, click on **Runbooks gallery**
@@ -42,30 +42,12 @@ You can only import directly from the PowerShell Gallery using the Azure portal.
42
42
7. Optionally, change the name of the runbook and then click **OK** to import the runbook.
43
43
8. The runbook appears on the **Runbooks** tab for the Automation Account.
44
44
45
-
### Adding a runbook to the runbook gallery
46
-
47
-
Microsoft encourages you to add runbooks to the PowerShell Gallery that you think would be useful to other customers. You can add a runbook by [uploading it to the PowerShell Gallery](/powershell/gallery/how-to/publishing-packages/publishing-a-package) taking into account the following details.
48
-
49
-
* You must specify *Windows Azure* for the **Category** and *Automation* for the **Subcategory** for the runbook to be displayed in the wizard.
50
-
* The upload must be a single `.ps1` or `.graphrunbook` file. If the runbook requires any modules, child runbooks, or assets, then you should list those items in the description of the submission and in the comments section of the runbook. If you have a scenario requiring multiple runbooks, then upload each separately and list the names of the related runbooks in each of their descriptions. Make sure that you use the same tags so that they show up in the same category. A user will have to read the description to know that other runbooks are required the scenario to work.
51
-
* Add the tag "GraphicalPS" if you're publishing a **Graphical runbook** (not a Graphical Workflow).
52
-
* Insert either a PowerShell or PowerShell Workflow code snippet into the description using **Insert code section** icon.
53
-
* The Summary for the upload is displayed in the Runbook Gallery results so you should provide detailed information that helps a user identify the functionality of the runbook.
54
-
* You should assign one to three of the following Tags to the upload. The runbook is listed in the wizard under the categories that match its tags. Any tags not on this list are ignored by the wizard. If you don’t specify any matching tags, the runbook is listed under the Other category.
55
-
56
-
* Backup
57
-
* Capacity Management
58
-
* Change Control
59
-
* Compliance
60
-
* Dev / Test Environments
61
-
* Disaster Recovery
62
-
* Monitoring
63
-
* Patching
64
-
* Provisioning
65
-
* Remediation
66
-
* VM Lifecycle Management
67
-
68
-
* Automation updates the Gallery once an hour, so you won’t see your contributions immediately.
45
+
### Adding a PowerShell runbook to the gallery
46
+
47
+
Microsoft encourages you to add runbooks to the PowerShell Gallery that you think would be useful to other customers. The PowerShell Gallery accepts PowerShell modules and PowerShell scripts. You can add a runbook by [uploading it to the PowerShell Gallery](/powershell/gallery/how-to/publishing-packages/publishing-a-package).
48
+
49
+
> [!NOTE]
50
+
> Graphical runbooks are not supported in PowerShell Gallery.
69
51
70
52
## Modules in PowerShell Gallery
71
53
@@ -95,7 +77,7 @@ PowerShell modules contain cmdlets that you can use in your runbooks, and existi
95
77
6. To install the module directly into Azure Automation, click the **Import** button.
96
78
7. When you click the Import button, on the **Import** pane, you see the module name that you're about to import. If all the dependencies are installed, the **OK** button is activated. If you're missing dependencies, you need to import those dependencies before you can import this module.
97
79
8. On the **Import** page, click **OK** to import the module. While Azure Automation imports a module to your account, it extracts metadata about the module and the cmdlets. This action may take a couple of minutes since each activity needs to be extracted.
98
-
9.You receive an initial notification that the module is being deployed and another notification when it has completed.
80
+
9. You receive an initial notification that the module is being deployed and another notification when it has completed.
99
81
10. After the module is imported, you can see the available activities. You can use its resources in your runbooks and Desired State Configuration.
0 commit comments