Skip to content

Commit 828777e

Browse files
Fix example for updating Automation module
Fix example for Set-AzureRMAutomationModule so leverage a proper ContentLinkUri. Existing example used a local path ".\<modulepath>.zip" format which throws an error. Required to use an http, https, or ftp based location for this parameter.
1 parent 223dcbf commit 828777e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ResourceManager/Automation/Commands.Automation/help/Set-AzureRmAutomationModule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ Check the **ProvisioningState** property for a value of Succeeded.
4343

4444
### Example 1: Update a module
4545
```
46-
PS C:\>Set-AzureRmAutomationModule -AutomationAccountName "Contoso17" -Name "ContosoModule" -ContentLinkUri ".\ContosoModule.zip" -ContentLinkVersion "1.1" -ResourceGroupName "ResourceGroup01"
46+
PS C:\>Set-AzureRmAutomationModule -AutomationAccountName "Contoso17" -Name "ContosoModule" -ContentLinkUri "http://contosostorage.blob.core.windows.net/modules/ContosoModule.zip" -ContentLinkVersion "1.1" -ResourceGroupName "ResourceGroup01"
4747
```
4848

49-
This command imports an updated version of an existing module named ContosoModule into the Automation account named Contoso17.
49+
This command imports an updated version of an existing module named ContosoModule into the Automation account named Contoso17. The module is stored in an Azure blob in a storage account named contosostorage and a container named modules.
5050

5151
## PARAMETERS
5252

0 commit comments

Comments
 (0)