< Back

Get-AzureRmDtlVMsPerLabPolicy

Thu Apr 04, 2019 5:39 am

NAME Get-AzureRmDtlVMsPerLabPolicy



SYNOPSIS

Gets the virtual machines per lab policy of a lab in DevTest Labs.





SYNTAX

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





DESCRIPTION

The Get-AzureRmDtlVMsPerLabPolicy cmdlet gets the virtual machines per lab policy of a lab, which allows you set the total number of virtual

machines allowed in a lab. The cmdlet returns the enabled or disabled status of the policy, and the total number of virtual machines allowed in

the lab that you have set in the policy.





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 virtual machines.



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

This cmdlet returns the policy that specifies the maximum number of virtual machines that can be created in the lab.





NOTES









1:















RELATED LINKS

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

Set-AzureRmDtlVMsPerLabPolicy