You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update-Win10WIM : Cannot process argument transformation on parameter 'UpdateBootWIM'. Cannot convert value "" to type "System.Boolean". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0.
At C:\Users\MrBalmer\Documents\GitHub\SurfaceDeploymentAccelerator\CreateSurfaceWindowsImage.ps1:2422 char:389
+ ... KitsInstall $WindowsKitsInstall -UpdateBootWIM $UpdateBootWIM -MakeUS ...
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Update-Win10WIM], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Update-Win10WIM
The text was updated successfully, but these errors were encountered:
This issue can be closed when my PR is merged. And to answer the question the parameter that was used was: -BootWIM 0. But since the code did not have any check if it was set to false/0 and the variables value was replaced, it then gives us this error if bootvim is set to 0 :-)
gives this error:
The text was updated successfully, but these errors were encountered: