< Back

Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule

Tue Jan 29, 2019 9:32 pm

NAME Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule



SYNOPSIS

Gets a DSC Node configuration deployment job schedule in Automation.





SYNTAX

Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-DefaultProfile

<IAzureContextContainer>] -JobScheduleId <Guid> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmAutomationDscNodeConfigurationDeployment cmdlet deployes an APS Desired State Configuration (DSC) node configuration in Azure

Automation.





PARAMETERS

-AutomationAccountName <String>

Specifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles.



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



-JobScheduleId <Guid>

Specifies the Job Schedule id of an existing scheduled deployment job.



Required? true

Position? named

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 compiles a configuration.



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







NOTES









Example 1: Get all the deployment schedules



PS C:\\> Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule `

-AutomationAccountName "Contoso01" `

-ResourceGroupName "ResourceGroup01"



ResourceGroupName : ResourceGroup01

AutomationAccountName : Contoso01

JobScheduleId : 2b1d7738-093d-4ff7-b87b-e4b2321319e5

JobSchedule : Microsoft.Azure.Commands.Automation.Model.JobSchedule

RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1



ResourceGroupName : ResourceGroup01

AutomationAccountName : Contoso01

JobScheduleId : e347dfc4-62fe-4ed6-adfb-55518c57b558

JobSchedule : Microsoft.Azure.Commands.Automation.Model.JobSchedule

RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1









Example 2: Get a deployment schedule



PS C:\\> $js= Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule `

-AutomationAccountName "Contoso01" `

-ResourceGroupName "ResourceGroup01" `

-JobScheduleId 2b1d7738-093d-4ff7-b87b-e4b2321319e5



PS C:\\> $js



ResourceGroupName : ResourceGroup01

AutomationAccountName : Contoso01

JobScheduleId : 2b1d7738-093d-4ff7-b87b-e4b2321319e5

JobSchedule : Microsoft.Azure.Commands.Automation.Model.JobSche

RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1



PS C:\\> $js.JobSchedule



ResourceGroupName : ResourceGroup01

RunOn :

AutomationAccountName : Contoso01

JobScheduleId : 2b1d7738-093d-4ff7-b87b-e4b2321319e5

RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1

ScheduleName : TestScheduleName

Parameters : {AutomationAccountName, NodeConfigurationName, ResourceGroupName, ListOfNodeNames}

HybridWorker :



The above command deploys the DSC node configuration named "Config01.Node1" to the given two-dimensional array of Node Names. The deployment

happens in a staged manner.







RELATED LINKS

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

Start-AzureRmAutomationDscCompilationJob

Import-AzureRmAutomationDscNodeConfiguration

Start-AzureRmAutomationDscNodeConfigurationDeployment

Stop-AzureRmAutomationDscNodeConfigurationDeployment

Get-AzureRmAutomationDscNodeConfigurationDeployment