OSDBuilder
OSDBuilder copied to clipboard
Cannot convert value "18362." to type "System.Version.
Keeps getting this error:
VERBOSE: OSDSUS 19.9.26.1 Windows http://osdsus.osdeploy.com/release Cannot convert value "18362." to type "System.Version". Error: "Inputstrengen var ikke i et korrekt format." At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\19.9.20.0\Public\Get-OSMedia.ps1:336 char:13
-
$ObjectProperties = @{
-
~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (:) [], RuntimeException
- FullyQualifiedErrorId : InvalidCastParseTargetInvocation
Exception setting "Revision": "The property 'Revision' cannot be found on this object. Verify that the property exists and can be set." At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\19.9.20.0\Public\Get-OSMedia.ps1:374 char:148
- ... ct {$.Group | Select-Object -First 1} | foreach {$.Revision = 'OK'}
-
~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
- FullyQualifiedErrorId : ExceptionWhenSetting
Its probably an error because you have an OSMedia that didn't import or update properly. Try Get-OSMedia -Verbose to find the bad one and remove it