< Back

Get-AzureRmAutomationRegistrationInfo

Tue Jan 29, 2019 9:32 pm

NAME Get-AzureRmAutomationRegistrationInfo



SYNOPSIS

Gets registration information for onboarding a DSC node or hybrid worker to Automation.





SYNTAX

Get-AzureRmAutomationRegistrationInfo [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmAutomationRegistrationInfo cmdlet gets the endpoint and keys required to onboard a Desired State Configuration (DSC) node or hybrid

worker into an Azure Automation account.





PARAMETERS

-AutomationAccountName <String>

Specifies the name of Automation account for which this cmdlet gets registration information.



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



-ResourceGroupName <String>

Specifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.



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.AgentRegistration







NOTES









Example 1: Get registration information



PS C:\\>Get-AzureRmAutomationRegistrationInfo -ResourceGroup "ResourceGroup01" -AutomationAccountName "AutomationAccount01"



This command gets the registration information for the Automation account named AutomationAccount01 in the Resource Group named ResourceGroup01.







RELATED LINKS

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

Get-AzureRmAutomationAccount

Get-AzureRmAutomationDscNode

New-AzureRmAutomationKey