< Back

Get-AzureRmDtlAutoStartPolicy

Thu Apr 04, 2019 5:39 am

NAME Get-AzureRmDtlAutoStartPolicy



SYNOPSIS

Gets the auto start policy of a lab in DevTest Labs.





SYNTAX

Get-AzureRmDtlAutoStartPolicy [-LabName] <String> [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmDtlAutoStartPolicy cmdlet gets the auto start policy of a lab which schedules lab virtual machines for automatic start. The cmdlet

returns the enabled or disabled status of the policy and the days of the week and time of day that you have set to allow lab virtual machines to

be scheduled for automatic start.





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



-LabName <String>

Specifies the name of the lab for which this cmdlet gets the auto start policy.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group that the lab belongs to.



Required? true

Position? 1

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.DevTestLabs.Models.PSSchedule

This cmdlet returns the schedule that specifies when the lab's virtual machines must be started.





NOTES









1:















RELATED LINKS

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

Set-AzureRmDtlAutoStartPolicy