< Back

Get-AzureRmAutomationModule

Tue Jan 29, 2019 9:32 pm

NAME Get-AzureRmAutomationModule



SYNOPSIS

Gets metadata for modules from Automation.





SYNTAX

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

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-AutomationAccountName <String>

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



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

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



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Automation.Model.Module







NOTES









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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tionmodule

New-AzureRmAutomationModule

Remove-AzureRmAutomationModule

Set-AzureRmAutomationModule