8000 Write-Progress: Length cannot be less than zero. (Parameter 'length') · Issue #15383 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
Write-Progress: Length cannot be less than zero. (Parameter 'length') #15383
@dingmeng-xue

Description

@dingmeng-xue

Steps to reproduce

The exception can be found from PowerShell-7.2.0-preview.5-win-x64 but no issue is from PowerShell-7.2.0-preview.3-win-x64

PowerShell-7.2.0-preview.5-win-x64

Write-Progress -Activity "PUT /subscriptions/000/providers/Microsoft.Authorization/policydefinitions/allowed-locations3?api-version=2019-09-01"

Error is printed out

Write-Progress: Length cannot be less than zero. (Parameter 'length')

PowerShell-7.2.0-preview.3-win-x64 works fine without error.

Write-Progress -Activity "PUT /subscriptions/000/providers/Microsoft.Authorization/policydefinitions/allowed-locations3?api-version=2019-09-01"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-DuplicateThe issue is a duplicate.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0