Skip to content

Commit a15ce40

Browse files
committed
edit pass: automation-articles-jd-batch1
1 parent fce5533 commit a15ce40

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/automation/shared-resources/modules.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Automation doesn't import the root Az module automatically into any new or exist
6868

6969
## Az module cmdlets
7070

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).
7272

7373
## Internal cmdlets
7474

@@ -87,7 +87,7 @@ The following table defines the internal cmdlets supported by the `Orchestrator.
8787
|Start-AutomationRunbook|`Start-AutomationRunbook [-Name] <string> [-Parameters <IDictionary>] [-RunOn <string>] [-JobId <guid>] [<CommonParameters>]`|
8888
|Wait-AutomationJob|`Wait-AutomationJob -Id <guid[]> [-TimeoutInMinutes <int>] [-DelayInSeconds <int>] [-OutputJobsTransitionedToRunning] [<CommonParameters>]`|
8989

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 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.
9191

9292
Use Az or AzureRM cmdlets for manipulating Automation resources outside the context of a runbook.
9393

@@ -103,7 +103,7 @@ This section includes considerations to take into account when you're migrating
103103

104104
#### Use of AzureRM modules and Az modules in the same Automation account
105105

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.
107107

108108
#### Import of Az modules into the PowerShell session
109109

@@ -156,7 +156,7 @@ Follow the considerations in this section when you author a PowerShell module fo
156156

157157
### Version folder
158158

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:
160160

161161
```powershell
162162
myModule
@@ -336,7 +336,7 @@ To import a module directly from the PowerShell Gallery:
336336
To import a PowerShell Gallery module directly from your Automation account:
337337

338338
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.
340340
3. Select the module to import, and select **Import**.
341341
4. Select **OK** to start the import process.
342342

articles/automation/troubleshoot/shared-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Some common reasons that a module might not successfully import to Azure Automat
6767
* The structure doesn't match the structure that Automation needs.
6868
* The module depends on another module that hasn't been deployed to your Automation account.
6969
* 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.
7171

7272
#### Resolution
7373

0 commit comments

Comments
 (0)