ValidationMetadataException: The 101 argument is greater than the maximum allowed range of 100. Supply an argument that is less than or equal to 100 and then try the
command again.
ParameterBindingValidationException: Cannot validate argument on parameter 'PercentComplete'. The 101 argument is greater than the maximum allowed range of 100. Supply an argument that is less than or equal to 100 and then try the command again.
at Update-DSCResultWithMetadata, C:\repos\mpc\mpc-psu-config\modules\PicM365DSC\output\RequiredModules\DSCParser\2.0.0.3\Modules\DSCParser.psm1:26
at ConvertTo-DSCObject, C:\repos\mpc\mpc-psu-config\modules\PicM365DSC\output\RequiredModules\DSCParser\2.0.0.3\Modules\DSCParser.psm1:535
...
With 2.0.0.3 I sometimes have this issue:
By looking at the code
If I'm not mistaken when
$i
is equal to$tokens.Length
then$percent
is greater than 100