microsoft / SurfaceDeploymentAccelerator

Surface Deployment Accelerator (SDA) is a script-driven tool to create Windows images (WIM) for test or deployment that are similar in configuration to Bare Metal Recovery (BMR) images, minus certain preinstalled applications like the Surface UWP application.
MIT License
77 stars 26 forks source link

It's not possible to call up a method for a term/expression that have NULL #44

Open In139 opened 2 years ago

In139 commented 2 years ago

When I try to create a Windows 11 Enterprise ISO (German localisation) for Surface 8 Pro I get the following error message (only in German language):

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\_PATH_TO_\SurfaceDeploymentAccelerator\CreateSurfaceWindowsImage.ps1:2002 Zeichen:9
+         $global:WinPEVersion = (& $DISMFile /Get-WimInfo /WimFile:$Im ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

But not found such a line in the log file. PowerShell_Error