< Back
Get-AzureRmAutomationAccount
Post
NAME Get-AzureRmAutomationAccount
SYNOPSIS
Gets Automation accounts in a resource group.
SYNTAX
Get-AzureRmAutomationAccount [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmAutomationAccount [[-ResourceGroupName] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmAutomationAccount cmdlet gets Azure Automation accounts in a resource group.
For more information about Automation accounts, see the New-AzureRmAutomationAccount cmdlet.
PARAMETERS
-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 Automation account that this cmdlet gets.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group in which this cmdlet gets Automation accounts.
Required? false
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.AutomationAccount
NOTES
Example 1: Get all accounts
PS C:\\>Get-AzureRmAutomationAccount -ResourceGroupName "ResourceGroup03"
This command gets all Automation accounts in the resource group named ResourceGroup03.
Example 2: Get an account
PS C:\\>Get-AzureRmAutomationAccount -ResourceGroupName "ResourceGroup03" -Name "ContosoAutomationAccount"
This command gets the Automation account named ContosoAutomationAccount in the resource group named ContosoResourceGroup.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ionaccount
New-AzureRmAutomationAccount
Remove-AzureRmAutomationAccount
Set-AzureRmAutomationAccount
SYNOPSIS
Gets Automation accounts in a resource group.
SYNTAX
Get-AzureRmAutomationAccount [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmAutomationAccount [[-ResourceGroupName] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmAutomationAccount cmdlet gets Azure Automation accounts in a resource group.
For more information about Automation accounts, see the New-AzureRmAutomationAccount cmdlet.
PARAMETERS
-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 Automation account that this cmdlet gets.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group in which this cmdlet gets Automation accounts.
Required? false
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.AutomationAccount
NOTES
Example 1: Get all accounts
PS C:\\>Get-AzureRmAutomationAccount -ResourceGroupName "ResourceGroup03"
This command gets all Automation accounts in the resource group named ResourceGroup03.
Example 2: Get an account
PS C:\\>Get-AzureRmAutomationAccount -ResourceGroupName "ResourceGroup03" -Name "ContosoAutomationAccount"
This command gets the Automation account named ContosoAutomationAccount in the resource group named ContosoResourceGroup.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ionaccount
New-AzureRmAutomationAccount
Remove-AzureRmAutomationAccount
Set-AzureRmAutomationAccount