Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ The cmdlet returns the enabled or disabled status of the policy and a list of al

### Example 1
```powershell
PS C:\> Get-AzDtlAllowedVMSizesPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
Get-AzDtlAllowedVMSizesPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
```

```output
Name : AllowedVmSizesInLab
Type : Microsoft.DevTestLab/labs/policySets/policies
Tags :
Expand Down
4 changes: 3 additions & 1 deletion src/DevTestLabs/DevTestLabs/help/Get-AzDtlVMsPerLabPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ The cmdlet returns the enabled or disabled status of the policy, and the total n

### Example 1
```powershell
PS C:\> Get-AzDtlVMsPerLabPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
Get-AzDtlVMsPerLabPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
```

```output
Name : MaxVmsAllowedPerLab
Type : Microsoft.DevTestLab/labs/policySets/policies
Tags :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ The cmdlet returns the enabled or disabled status of the policy and the maximum

### Example 1
```powershell
PS C:\> Get-AzDtlVMsPerUserPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
Get-AzDtlVMsPerUserPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
```

```output
Name : MaxVmsAllowedPerUser
Type : Microsoft.DevTestLab/labs/policySets/policies
Tags :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ The cmdlet uses the specified resource group and name of the lab to set the poli

### Example 1
```powershell
PS C:\> Set-AzDtlAllowedVMSizesPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
Set-AzDtlAllowedVMSizesPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
```

```output
Name : AllowedVmSizesInLab
Type : Microsoft.DevTestLab/labs/policySets/policies
Tags :
Expand Down
4 changes: 3 additions & 1 deletion src/DevTestLabs/DevTestLabs/help/Set-AzDtlVMsPerLabPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ The cmdlet uses the specified resource group and name of the lab to set the poli

### Example 1
```powershell
PS C:\> Set-AzDtlVMsPerLabPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
Set-AzDtlVMsPerLabPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
```

```output
Name : MaxVmsAllowedPerLab
Type : Microsoft.DevTestLab/labs/policySets/policies
Tags :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ The cmdlet uses the specified resource group and name of the lab to set the poli

### Example 1
```powershell
PS C:\> Set-AzDtlVMsPerUserPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
Set-AzDtlVMsPerUserPolicy -LabName debtestlab -ResourceGroupName yuzhi-rg
```

```output
Name : MaxVmsAllowedPerUser
Type : Microsoft.DevTestLab/labs/policySets/policies
Tags :
Expand Down