< Back

Get-AzureRmDtlAutoShutdownPolicy

Thu Apr 04, 2019 5:39 am

NAME Get-AzureRmDtlAutoShutdownPolicy



SYNOPSIS

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





SYNTAX

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





DESCRIPTION

The Get-AzureRmDtlAutoShutdownPolicy cmdlet gets the auto shutdown policy of a lab, which allows you to automatically shut down all the virtual

machines in a lab at a specified time of the day. The cmdlet returns whether the status of the policy is enabled, and the time of day that you

have set to automatically shut down the lab virtual machines.





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 shutdown 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 which specifies when the lab's virtual machines must shut down.





NOTES









1:















RELATED LINKS

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

Set-AzureRmDtlAutoShutdownPolicy