@@ -15,9 +15,9 @@ AADSC). When possible, you should plan to move your content and machines to the
15
15
article provides guidance on developing a migration strategy from Azure Automation to machine
16
16
configuration.
17
17
18
- New features in machine configuration address top asks from customers :
18
+ New features in machine configuration address customer requests :
19
19
20
- - Increased size limit for configurations ( 100MB )
20
+ - Increased size limit for configurations to 100 MB
21
21
- Advanced reporting through Azure Resource Graph including resource ID and state
22
22
- Manage multiple configurations for the same machine
23
23
- When machines drift from the desired state, you control when remediation occurs
@@ -61,8 +61,8 @@ configuration.
61
61
62
62
You can only export configuration scripts from Azure Automation. It isn't possible to export node
63
63
configurations, or compiled MOF files. If you published MOF files directly into the Automation
64
- Account and no longer have access to the original file, you must recompile from your private
65
- configuration scripts. If you can't find the original configuration, you must re-author it.
64
+ Account and no longer have access to the original file, you need to recompile from your private
65
+ configuration scripts. If you can't find the original configuration, you must reauthor it.
66
66
67
67
To export configuration scripts from Azure Automation, first identify the Azure Automation account
68
68
that has the configurations and the name of the Resource Group the Automation Account is deployed
@@ -147,7 +147,7 @@ After you've discovered your accounts and the number of configurations, you migh
147
147
all configurations to a local folder on your machine. To automate this process, pipe the output of
148
148
each command in the earlier examples to the next command.
149
149
150
- The example exports 5 configurations. The output pattern is the only indicator of success.
150
+ The example exports five configurations. The output pattern is the only indicator of success.
151
151
152
152
``` azurepowershell-interactive
153
153
Get-AzAutomationAccount |
@@ -173,7 +173,7 @@ configuration per machine. To take advantage of the expanded capabilities offere
173
173
configuration, you can divide large configuration files into many smaller configurations where each
174
174
handles a specific scenario.
175
175
176
- There is no orchestration in machine configuration to control the order of how configurations are
176
+ There's no orchestration in machine configuration to control the order of how configurations are
177
177
sorted. Keep steps in a configuration together in one package if they're required to happen
178
178
sequentially.
179
179
@@ -184,12 +184,11 @@ configurations require which modules and versions. You must have the modules in
184
184
environment to create a new machine configuration package. To create a list of modules you need for
185
185
migration, use PowerShell to query Azure Automation for the name and version of modules.
186
186
187
- If you are using modules that are custom authored and only exist in your private development
187
+ If you're using modules that are custom authored and only exist in your private development
188
188
environment, it isn't possible to export them from Azure Automation.
189
189
190
190
If you can't find a custom module in your environment that's required for a configuration and in
191
- the account, you won't be able to compile the configuration. This means you won't be able to
192
- migrate the configuration.
191
+ the account, you can't compile the configuration. Therefore, you can't migrate the configuration.
193
192
194
193
#### List modules imported in Azure Automation
195
194
@@ -235,8 +234,8 @@ xRemoteDesktopAdmin 1.1.0.0
235
234
236
235
If the modules were imported from the PowerShell Gallery, you can pipe the output from
237
236
` Find-Module ` directly to ` Install-Module ` . Piping the output across commands provides a solution
238
- to load a developer environment with all modules currently in an Automation Account that are
239
- available publicly in the PowerShell Gallery.
237
+ to load a developer environment with all modules currently in an Automation Account if they're
238
+ available in the PowerShell Gallery.
240
239
241
240
You can use the same approach to pull modules from a custom NuGet feed if you have registered the
242
241
feed in your local environment as a [ PowerShellGet repository] [ 04 ] .
@@ -314,10 +313,10 @@ function New-TaskResolvedInPWSH7 {
314
313
}
315
314
```
316
315
317
- #### Will I have to add the Reasons property to Get-TargetResource in all modules I migrate?
316
+ #### Do I need to add the Reasons property to Get-TargetResource in all modules I migrate?
318
317
319
318
Implementing the [ Reasons property] [ 09 ] provides a better experience when viewing the results of a
320
- configuration assignment from the Azure Portal . If the ` Get ` method in a module doesn't include
319
+ configuration assignment from the Azure portal . If the ` Get ` method in a module doesn't include
321
320
** Reasons** , generic output is returned with details from the properties returned by the ` Get `
322
321
method. Therefore, it's optional for migration.
323
322
@@ -348,22 +347,22 @@ Azure Automation State Configuration.
348
347
### Hybrid machines
349
348
350
349
Machines outside of Azure [ can be registered to Azure Automation State Configuration] [ 13 ] , but they
351
- don't have a machine resource in Azure. The connection to Azure Automation is handled by the Local
352
- Configuration Manager (LCM) service inside the machine . The record of the node is managed as a
353
- resource in the Azure Automation provider type.
350
+ don't have a machine resource in Azure. The Local Configuration Manager (LCM) service inside the
351
+ machine handles the connection to Azure Automation . The record of the node is managed as a resource
352
+ in the Azure Automation provider type.
354
353
355
354
Before removing a machine from Azure Automation State Configuration, onboard each node as an
356
- [ Azure Arc-enabled server] [ 14 ] . Onboarding to Azure Arc creates a machine resource in Azure so the
357
- machine can be managed by Azure Policy . The machine can be onboarded to Azure Arc at any time, but
358
- you can use Azure Automation State Configuration to automate the process.
355
+ [ Azure Arc-enabled server] [ 14 ] . Onboarding to Azure Arc creates a machine resource in Azure so
356
+ Azure Policy can manage the machine . The machine can be onboarded to Azure Arc at any time, but you
357
+ can use Azure Automation State Configuration to automate the process.
359
358
360
359
You can register a machine to Azure Arc-enabled servers by using PowerShell DSC. For details, view
361
360
the page [ How to install the Connected Machine agent using Windows PowerShell DSC] [ 15 ] . Remember
362
361
however, that Azure Automation State Configuration can manage only one configuration per machine,
363
- per Automation Account. This means you have the option to export, test, and prepare your content
364
- for machine configuration, and then switch the node configuration in Azure Automation to onboard to
365
- Azure Arc. As the last step, remove the node registration from Azure Automation State Configuration
366
- and move forward only managing the machine state through machine configuration.
362
+ per Automation Account. You can export, test, and prepare your content for machine configuration,
363
+ and then switch the node configuration in Azure Automation to onboard to Azure Arc. As the last
364
+ step, remove the node registration from Azure Automation State Configuration and move forward only
365
+ managing the machine state through machine configuration.
367
366
368
367
## Troubleshooting issues when exporting content
369
368
0 commit comments