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/shared-resources/modules.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Automation doesn't import the root Az module automatically into any new or exist
68
68
69
69
## Az module cmdlets
70
70
71
-
For Az.Automation, the majority of the cmdlets have the same names as those used for the AzureRM modules, except that the AzureRm prefix has been changed to Az. For a list of Az modules that don't follow this naming convention, see the [list of exceptions](/powershell/azure/migrate-from-azurerm-to-az#update-cmdlets-modules-and-parameters).
71
+
For Az.Automation, the majority of the cmdlets have the same names as those used for the AzureRM modules, except that the *AzureRm* prefix has been changed to *Az*. For a list of Az modules that don't follow this naming convention, see the [list of exceptions](/powershell/azure/migrate-from-azurerm-to-az#update-cmdlets-modules-and-parameters).
72
72
73
73
## Internal cmdlets
74
74
@@ -87,7 +87,7 @@ The following table defines the internal cmdlets supported by the `Orchestrator.
Note that the internal cmdlets differ in naming from the Az and AzureRM cmdlets. Internal cmdlet names don't contain words like “Azure” or “Az” in the noun, but do use the word *Automation*. We recommend their use over the use of Az or AzureRM cmdlets during runbook execution in an Azure sandbox or on a Windows hybrid worker. They require fewer parameters and run in the context of your job that's already running.
90
+
Note that the internal cmdlets differ in naming from the Az and AzureRM cmdlets. Internal cmdlet names don't contain words like “Azure” or “Az” in the noun, but do use the word *Automation*. We recommend their use over the use of Az or AzureRM cmdlets during runbook execution in an Azure sandbox or on a Windows Hybrid Runbook Worker. They require fewer parameters and run in the context of your job that's already running.
91
91
92
92
Use Az or AzureRM cmdlets for manipulating Automation resources outside the context of a runbook.
93
93
@@ -103,7 +103,7 @@ This section includes considerations to take into account when you're migrating
103
103
104
104
#### Use of AzureRM modules and Az modules in the same Automation account
105
105
106
-
We don't recommend running AzureRM modules and Az modules in the same Automation account. When you're sure you want to migrate from AzureRM to Az, it's best to fully commit to a complete migration. Automation often reuses sandboxes within the Automation account to save on startup times. If you don't make a full module migration, you might start a job that uses only AzureRM modules, and then start another job that uses only Az modules. The sandbox soon crashes, and you receive an error stating that the modules aren’t compatible. This situation results in randomly occurring crashes for any given runbook or configuration.
106
+
We don't recommend running AzureRM modules and Az modules in the same Automation account. When you're sure you want to migrate from AzureRM to Az, it's best to fully commit to a complete migration. Automation often reuses sandboxes within the Automation account to save on startup times. If you don't make a full module migration, you might start a job that uses only AzureRM modules, and then start another job that uses only Az modules. The sandbox soon crashes, and you receive an error stating that the modules aren’t compatible. This situation results in randomly occurring crashes for any particular runbook or configuration.
107
107
108
108
#### Import of Az modules into the PowerShell session
109
109
@@ -156,7 +156,7 @@ Follow the considerations in this section when you author a PowerShell module fo
156
156
157
157
### Version folder
158
158
159
-
Don't include a version folder in the **.zip** package for your module. This issue is less of a concern for runbooks, but does cause a problem with the Desired State Configuration (DSC) service. Automation creates the version folder automatically when the module is distributed to nodes managed by DSC. If a version folder exists, you end up with two instances. Here's an example folder structure for a DSC module:
159
+
Don't include a version folder in the **.zip** package for your module. This issue is less of a concern for runbooks, but does cause a problem with the DSC service. Automation creates the version folder automatically when the module is distributed to nodes managed by DSC. If a version folder exists, you end up with two instances. Here's an example folder structure for a DSC module:
160
160
161
161
```powershell
162
162
myModule
@@ -336,7 +336,7 @@ To import a module directly from the PowerShell Gallery:
336
336
To import a PowerShell Gallery module directly from your Automation account:
337
337
338
338
1. Under **Shared Resources**, select **Modules**.
339
-
2. Select **Browse gallery**, and then search the gallery for a module.
339
+
2. Select **Browse gallery**, and then search the Gallery for a module.
340
340
3. Select the module to import, and select **Import**.
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/shared-resources.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Some common reasons that a module might not successfully import to Azure Automat
67
67
* The structure doesn't match the structure that Automation needs.
68
68
* The module depends on another module that hasn't been deployed to your Automation account.
69
69
* The module is missing its dependencies in the folder.
70
-
* The [New-AzAutomationModule](https://docs.microsoft.com/powershell/module/Az.Automation/New-AzAutomationModule?view=azps-3.7.0) cmdlet is being used to upload the module, and you haven't given the full storage path or haven't loaded the module by using a publicly accessible URL.
70
+
* The [New-AzAutomationModule](https://docs.microsoft.com/powershell/module/Az.Automation/New-AzAutomationModule?view=azps-3.7.0) cmdlet is being used to upload the module, and you haven't provided the full storage path or haven't loaded the module by using a publicly accessible URL.
0 commit comments