external help file | Module Name | ms.assetid | online version | schema |
---|---|---|---|---|
Microsoft.Azure.Commands.ResourceManager.Automation.dll-Help.xml |
AzureRM.Automation |
B32A8423-A7AA-418E-A95D-6C18566741AB |
2.0.0 |
Gets Automation accounts in a resource group.
Get-AzureRmAutomationAccount [[-ResourceGroupName] <String>] [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmAutomationAccount [-ResourceGroupName] <String> [-Name] <String>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
The Get-AzureRmAutomationAccount cmdlet gets Azure Automation accounts in a resource group. For more information about Automation accounts, see the New-AzureRmAutomationAccount cmdlet.
PS C:\>Get-AzureRmAutomationAccount -ResourceGroupName "ResourceGroup03"
This command gets all Automation accounts in the resource group named ResourceGroup03.
PS C:\>Get-AzureRmAutomationAccount -ResourceGroupName "ResourceGroup03" -Name "ContosoAutomationAccount"
This command gets the Automation account named ContosoAutomationAccount in the resource group named ContosoResourceGroup.
The credentials, account, tenant, and subscription used for communication with azure
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name of the Automation account that this cmdlet gets.
Type: System.String
Parameter Sets: ByAutomationAccountName
Aliases: AutomationAccountName
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the name of a resource group in which this cmdlet gets Automation accounts.
Type: System.String
Parameter Sets: ByAll
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Type: System.String
Parameter Sets: ByAutomationAccountName
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).