Get-​Azure​Rm​Automation​Module

Gets metadata for modules from Automation.

Syntax

Get-AzureRmAutomationModule
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   [-Name] <String>
   [<CommonParameters>]

Description

The Get-AzureRmAutomationModule cmdlet gets metadata for modules from Azure Automation.

Examples

Example 1: Get all modules

PS C:\>Get-AzureRmAutomationModule -AutomationAccountName "Contoso17" -ResourceGroupName "ResourceGroup01"

This command gets all modules in the Automation account named Contoso17.

Example 2: Get a module

PS C:\>Get-AzureRmAutomationModule -AutomationAccountName "Contoso17" -Name "ContosoModule" -ResourceGroupName "ResourceGroup01"

This command gets a module named ContosoModule in the Automation account named Contoso17.

Required Parameters

-AutomationAccountName

Specifies the name of the Automation account for which this cmdlet gets module metadata.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the module for which this cmdlet gets metadata.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of a resource group for which this cmdlet gets module metadata.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False