Skip to content

[Doc] incorrect examples of LabServices cmdlets #23425

@isra-fel

Description

@isra-fel

Type of issue

Code doesn't work

Feedback

Errors found in the following examples in the cmdlets of Az.LabServices

Type Cmdlet Example Line RuleName Description Extent Remediation
Add-AzLabServicesUserQuota 1 1 Capitalization_Conventions_Violated New-Timespan doesn't follow the Capitalization Conventions. New-Timespan -Hours 4 Check the Capitalization Conventions. Suggest format: New-TimeSpan
Add-AzLabServicesUserQuota 2 2 Capitalization_Conventions_Violated New-Timespan doesn't follow the Capitalization Conventions. New-Timespan -Hours 5 Check the Capitalization Conventions. Suggest format: New-TimeSpan
Get-AzLabServicesLabForVM 1 1 Capitalization_Conventions_Violated Get-AzLabServicesLabForVm doesn't follow the Capitalization Conventions. Get-AzLabServicesLabForVm -ResourceId '/subscriptions//resourceGroups//providers/Microsoft.LabServices/labs//virtualMachines/' Check the Capitalization Conventions. Suggest format: Get-AzLabServicesLabForVM

Page URL

https://learn.microsoft.com/en-us/powershell/module/az.labservices/add-azlabservicesuserquota?view=azps-11.0.0&viewFallbackFrom=azps-10.3.0

Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/LabServices/help/Add-AzLabServicesUserQuota.md

Author

No response

Document Id

9a3fbc48-3936-2dcf-5c65-6709d7d182dd

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions