-
assigned issue to
Unable to execute Write-Progress with POSHTOOLS 5.0.1
Simple script
Write-Progress -Activity "a" -Status "b" -Id 1 -PercentComplete 1
failed when I run it from Visual Studio 2019 with error
Write-Progress : Value cannot be null.
Parameter name: value
At C:\Users\mashkovda\source\repos\SLAssessmentCore\SLAssessmentCore\Do-Discove
ry.ps1:6 char:2
Write-Progress -Activity "a" -Status "b" -Id 1 -PercentComplete 1
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Write-Progress], ArgumentNull
Exception - FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.PowerShel
l.Commands.WriteProgressCommand
- CategoryInfo : NotSpecified: (:) [Write-Progress], ArgumentNull
POSHTOOLS 5.0.1
Visual Studio 2019 16.3.7
\$PSVersionTable
Name Value
PSVersion 5.1.18362.145
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.18362.145
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Comments (2)
-
-
- changed status to resolved
Fixes
#201→ <<cset 6e81a819c119>>
- Log in to comment