Get-AzAutomationDscNodeConfigurationDeploymentSchedule
Gets a DSC Node configuration deployment job schedule in Automation.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzAutomationDscNodeConfigurationDeploymentSchedule
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzAutomationDscNodeConfigurationDeploymentSchedule
-JobScheduleId <Guid>
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzAutomationDscNodeConfigurationDeployment cmdlet deploys an APS Desired State Configuration (DSC) node configuration in Azure Automation.
Examples
Example 1: Get all the deployment schedules
PS C:\> Get-AzAutomationDscNodeConfigurationDeploymentSchedule `
-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-AzAutomationDscNodeConfigurationDeploymentSchedule `
-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.
Parameters
Specifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the Job Schedule id of an existing scheduled deployment job.
| Type: | Guid |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the name of a resource group in which this cmdlet compiles a configuration.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Inputs
Outputs
NodeConfigurationDeploymentSchedule