Issues after selecting Windows Server iso and further steps
CreateParentDisk.ps1 Script has issues to process the array of images from WIM.
https://github.com/DellGEOS/AzureStackHOLs/tree/main/admin-guides/01-HydrateMSLab
Task 3 - Step 7.
ISO file from msdn: en-us_windows_server_2022_updated_aug_2023_x64_dvd_78639bda.iso
`**********************
nStart der Windows PowerShell-Aufzeichnung
Startzeit: 20230907162659
Benutzername: KARL-PC-WORK\servi
RunAs-Benutzer: KARL-PC-WORK\servi
Konfigurationsname:
Computer: KARL-PC-WORK (Microsoft Windows NT 10.0.22631.0)
Hostanwendung: C:\windows\system32\windowspowershell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -File H:\mslab_v23.06.1\2_CreateParentDisks.ps1
Prozess-ID: 16628
PSVersion: 5.1.22621.1830
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.22621.1830
BuildVersion: 10.0.22621.1830
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
INFO : Looking for the requested Windows image in the WIM file
INFO : Creating sparse disk...
INFO : Mounting VHDX...
INFO : Initializing disk...
INFO : Creating EFI system partition...
INFO : Formatting system volume...
INFO : Setting system partition as ESP...
INFO : Creating MSR partition...
INFO : Creating windows partition...
INFO : Formatting windows volume...
ERROR : Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
INFO : Log folder is C:\Users\servi\AppData\Local\Temp\Convert-WindowsImage\e04f29fd-e249-40f7-a2b5-dc39fc29de51
INFO : Done.
Ende der Windows PowerShell-Aufzeichnung
Endzeit: 20230907162708
`
apparently, all later steps will throw errors.
`
nStart der Windows PowerShell-Aufzeichnung
Startzeit: 20230907162621
Benutzername: KARL-PC-WORK\servi
RunAs-Benutzer: KARL-PC-WORK\servi
Konfigurationsname:
Computer: KARL-PC-WORK (Microsoft Windows NT 10.0.22631.0)
Hostanwendung: C:\windows\system32\windowspowershell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -File H:\mslab_v23.06.1\2_CreateParentDisks.ps1
Prozess-ID: 16628
PSVersion: 5.1.22621.1830
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.22621.1830
BuildVersion: 10.0.22621.1830
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
Die Aufzeichnung wurde gestartet. Die Ausgabedatei ist "H:\mslab_v23.06.1\CreateParentDisks.log".
Script started at 09/07/2023 16:26:21
MSLab Version v23.06.1
Lab telemetry
By providing a telemetry information you will help us to improve MSLab scripts. There are two levels of a telemetry information and we are not collecting any personally identifiable information (PII).
Details about telemetry levels and the content of telemetry messages can be found in documentation https://aka.ms/mslab/telemetry
Available telemetry levels are:
- None -- No information will be sent
- Basic -- Information about lab will be sent (e.g. script execution time, number of VMs, guest OSes)
- Full -- Information about lab and the host machine (e.g. type of disk)
Would you be OK with providing an information about your MSLab usage?
Tip: You can also configure telemetry settings explicitly in LabConfig.ps1 file or by setting an environmental variable and suppress this prompt.
Telemetry has been set to Full level, thank you for your valuable feedback.
Checking if Hyper-V is installed
Hyper-V is Installed
Checking if Hyper-V Powershell module is installed
Hyper-V is Installed
Testing if some parent disk already exists and can be used
Checking if at least 2GB RAM is available
54.442 MB RAM Available
Checking if volume filesystem is NTFS or ReFS
Volume filesystem is ReFS
Please select ISO image with Windows Server 2016, 2019, 2022 or Server Insider
GAC Version Location
True v4.0.30319 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089...
File H:\ISOs\en-us_windows_server_2022_updated_aug_2023_x64_dvd_78639bda.iso selected
Testing if selected ISO is Server Media
Server Edition found
Please select Windows Server Updates (*.msu). Click Cancel if you don't want any.
True v4.0.30319 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089...
Tools.vhdx not found, will be created
Creating Directory Temp\mountdir
PSPath : Microsoft.PowerShell.Core\FileSystem::H:\mslab_v23.06.1\Temp\mountdir
PSParentPath : Microsoft.PowerShell.Core\FileSystem::H:\mslab_v23.06.1\Temp
PSChildName : mountdir
PSDrive : H
PSProvider : Microsoft.PowerShell.Core\FileSystem
PSIsContainer : True
Name : mountdir
FullName : H:\mslab_v23.06.1\Temp\mountdir
Parent : Temp
Exists : True
Root : H:
Extension :
CreationTime : 07.09.2023 16:26:58
CreationTimeUtc : 07.09.2023 14:26:58
LastAccessTime : 07.09.2023 16:26:58
LastAccessTimeUtc : 07.09.2023 14:26:58
LastWriteTime : 07.09.2023 16:26:58
LastWriteTimeUtc : 07.09.2023 14:26:58
Attributes : Directory
Mode : d-----
BaseName : mountdir
Target : {}
LinkType :
Creating Server Parent disk(s)
Creating Server Parent Win2022_G2.vhdx
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10
Copyright (C) Microsoft Corporation. All rights reserved.
Version 10.0.14278.1000.amd64fre.rs1_es_media.160201-1707
INFO : Looking for the requested Windows image in the WIM file
INFO : Creating sparse disk...
INFO : Mounting VHDX...
INFO : Initializing disk...
INFO : Creating EFI system partition...
INFO : Formatting system volume...
INFO : Setting system partition as ESP...
INFO : Creating MSR partition...
INFO : Creating windows partition...
INFO : Formatting windows volume...
ERROR : Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
INFO : Log folder is C:\Users\servi\AppData\Local\Temp\Convert-WindowsImage\e04f29fd-e249-40f7-a2b5-dc39fc29de51
INFO : Done.
Creating Server Parent Win2022Core_G2.vhdx
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10
Copyright (C) Microsoft Corporation. All rights reserved.
Version 10.0.14278.1000.amd64fre.rs1_es_media.160201-1707
INFO : Looking for the requested Windows image in the WIM file
INFO : Creating sparse disk...
INFO : Mounting VHDX...
INFO : Initializing disk...
INFO : Creating EFI system partition...
INFO : Formatting system volume...
INFO : Setting system partition as ESP...
INFO : Creating MSR partition...
INFO : Creating windows partition...
INFO : Formatting windows volume...
ERROR : Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
INFO : Log folder is C:\Users\servi\AppData\Local\Temp\Convert-WindowsImage\3a8d8ee6-3ea2-4a84-b00a-f62c446b18d4
INFO : Done.
Creating Tools.vhdx
Found H:\mslab_v23.06.1\Temp\ToolsVHD*, copying files into VHDX
Starting DC Hydration
Creating VHD for DC
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10
Copyright (C) Microsoft Corporation. All rights reserved.
Version 10.0.14278.1000.amd64fre.rs1_es_media.160201-1707
INFO : Looking for the requested Windows image in the WIM file
INFO : Creating sparse disk...
INFO : Mounting VHDX...
INFO : Initializing disk...
INFO : Creating EFI system partition...
INFO : Formatting system volume...
INFO : Setting system partition as ESP...
INFO : Creating MSR partition...
INFO : Creating windows partition...
INFO : Formatting windows volume...
ERROR : Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
INFO : Log folder is C:\Users\servi\AppData\Local\Temp\Convert-WindowsImage\65e49cdf-fd27-496f-803a-3c97f0d79f2c
INFO : Done.
PS>TerminatingError(Get-WindowsImage): "Das System kann die angegebene Datei nicht finden.
"
Get-WindowsImage : Das System kann die angegebene Datei nicht finden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:952 Zeichen:37
- ... ion]$VMVersion=(Get-WindowsImage -ImagePath $VHDPath -Index 1).Versio ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Get-WindowsImage], COMException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsImageCommand
Get-WindowsImage : Das System kann die angegebene Datei nicht finden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:952 Zeichen:37
Name : DC_HydrationSwitch_524278e1-2b5d-4268-973b-f8a30bb37607
Id : b14f1d06-e3be-4178-8d11-487e5c456279
Notes :
Extensions : {Microsoft Defender Application Guard – Filtertreiber, Microsoft
Windows-Filterplattform, Microsoft Azure VFP Switch Filter
Extension, Microsoft-NDIS-Aufzeichnung}
BandwidthReservationMode : Absolute
PacketDirectEnabled : False
EmbeddedTeamingEnabled : False
AllowNetLbfoTeams : False
IovEnabled : False
SwitchType : Private
AllowManagementOS : False
NetAdapterInterfaceDescription :
NetAdapterInterfaceDescriptions :
NetAdapterInterfaceGuid :
IovSupport : False
IovSupportReasons :
AvailableIPSecSA : 0
NumberIPSecSAAllocated : 0
AvailableVMQueues : 0
NumberVmqAllocated : 0
IovQueuePairCount : 0
IovQueuePairsInUse : 0
IovVirtualFunctionCount : 0
IovVirtualFunctionsInUse : 0
PacketDirectInUse : False
DefaultQueueVrssEnabledRequested : True
DefaultQueueVrssEnabled : False
DefaultQueueVmmqEnabledRequested : True
DefaultQueueVmmqEnabled : False
DefaultQueueVrssMaxQueuePairsRequested : 16
DefaultQueueVrssMaxQueuePairs : 0
DefaultQueueVrssMinQueuePairsRequested : 1
DefaultQueueVrssMinQueuePairs : 0
DefaultQueueVrssQueueSchedulingModeRequested : StaticVrss
DefaultQueueVrssQueueSchedulingMode : Dynamic
DefaultQueueVrssExcludePrimaryProcessorRequested : False
DefaultQueueVrssExcludePrimaryProcessor : False
SoftwareRscEnabled : True
RscOffloadEnabled : False
BandwidthPercentage : 0
DefaultFlowMinimumBandwidthAbsolute : 0
DefaultFlowMinimumBandwidthWeight : 0
CimSession : CimSession: .
ComputerName : KARL-PC-WORK
IsDeleted : False
DefaultQueueVmmqQueuePairs : 0
DefaultQueueVmmqQueuePairsRequested : 16
New-VM : Fehler beim Hinzufügen des Geräts "Virtual Hard Disk".
Die Anlage "H:\mslab_v23.06.1\LAB\DC\Virtual Hard Disks\DC.vhdx" wurde nicht gefunden. Fehler: Das System kann die
angegebene Datei nicht finden..
"DC": Fehler beim Hinzufügen des Geräts "Virtual Hard Disk" (ID des virtuellen Computers
D02F3B6E-D029-4BA4-99FF-431BB76189B8).
"DC": Die Anlage "H:\mslab_v23.06.1\LAB\DC\Virtual Hard Disks\DC.vhdx" wurde nicht gefunden. Fehler: "Das System kann
die angegebene Datei nicht finden." (0x80070002) (ID des virtuellen Computers D02F3B6E-D029-4BA4-99FF-431BB76189B8).
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:966 Zeichen:21
- ... $DC=New-VM -Name $DCName -VHDPath $vhdpath -MemoryStartupByte ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [New-VM], VirtualizationException
- FullyQualifiedErrorId : Unspecified,Microsoft.HyperV.PowerShell.Commands.NewVM
New-VM : Fehler beim Hinzufügen des Geräts "Virtual Hard Disk".
Die Anlage "H:\mslab_v23.06.1\LAB\DC\Virtual Hard Disks\DC.vhdx" wurde nicht gefunden. Fehler: Das System kann die
angegebene Datei nicht finden..
"DC": Fehler beim Hinzufügen des Geräts "Virtual Hard Disk" (ID des virtuellen Computers
D02F3B6E-D029-4BA4-99FF-431BB76189B8).
"DC": Die Anlage "H:\mslab_v23.06.1\LAB\DC\Virtual Hard Disks\DC.vhdx" wurde nicht gefunden. Fehler: "Das System kann
die angegebene Datei nicht finden." (0x80070002) (ID des virtuellen Computers D02F3B6E-D029-4BA4-99FF-431BB76189B8).
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:966 Zeichen:21
PSPath : Microsoft.PowerShell.Core\FileSystem::H:\mslab_v23.06.1\Temp\MountDir
PSParentPath : Microsoft.PowerShell.Core\FileSystem::H:\mslab_v23.06.1\Temp
PSChildName : MountDir
PSDrive : H
PSProvider : Microsoft.PowerShell.Core\FileSystem
PSIsContainer : True
Name : MountDir
FullName : H:\mslab_v23.06.1\Temp\MountDir
Parent : Temp
Exists : True
Root : H:
Extension :
CreationTime : 07.09.2023 16:27:50
CreationTimeUtc : 07.09.2023 14:27:50
LastAccessTime : 07.09.2023 16:27:50
LastAccessTimeUtc : 07.09.2023 14:27:50
LastWriteTime : 07.09.2023 16:27:50
LastWriteTimeUtc : 07.09.2023 14:27:50
Attributes : Directory
Mode : d-----
BaseName : MountDir
Target : {}
LinkType :
PS>TerminatingError(Get-WindowsImage): "Das System kann die angegebene Datei nicht finden.
"
Get-WindowsImage : Das System kann die angegebene Datei nicht finden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1000 Zeichen:41
- ... ion]$VMVersion=(Get-WindowsImage -ImagePath $VHDPath -Index 1).Versio ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Get-WindowsImage], COMException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsImageCommand
Get-WindowsImage : Das System kann die angegebene Datei nicht finden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1000 Zeichen:41
- ... ion]$VMVersion=(Get-WindowsImage -ImagePath $VHDPath -Index 1).Versio ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Get-WindowsImage], COMException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsImageCommand
TerminatingError(Mount-WindowsImage): "Falscher Parameter.
"
Mount-WindowsImage : Falscher Parameter.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1001 Zeichen:13
-
Mount-WindowsImage -Path $mountdir -ImagePath $VHDPath -I ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Mount-WindowsImage], PSArgumentException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.MountWindowsImageCommand
Mount-WindowsImage : Falscher Parameter.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1001 Zeichen:13
-
Mount-WindowsImage -Path $mountdir -ImagePath $VHDPath -I ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Mount-WindowsImage], PSArgumentException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.MountWindowsImageCommand
TerminatingError(Use-WindowsUnattend): "Fehler: Es wurde kein Vorgang ausgeführt.
Stellen Sie sicher, dass DISM ordnungsgemäß im Abbild installiert ist, und wiederholen Sie dann den Vorgang.
"
Use-WindowsUnattend : Fehler: Es wurde kein Vorgang ausgeführt.
Stellen Sie sicher, dass DISM ordnungsgemäß im Abbild installiert ist, und wiederholen Sie dann den Vorgang.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1002 Zeichen:13
-
Use-WindowsUnattend -Path $mountdir -UnattendPath $unatte ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Use-WindowsUnattend], COMException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.UseWindowsUnattendCommand
Use-WindowsUnattend : Fehler: Es wurde kein Vorgang ausgeführt.
Stellen Sie sicher, dass DISM ordnungsgemäß im Abbild installiert ist, und wiederholen Sie dann den Vorgang.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1002 Zeichen:13
-
Use-WindowsUnattend -Path $mountdir -UnattendPath $unatte ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Use-WindowsUnattend], COMException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.UseWindowsUnattendCommand
PSPath : Microsoft.PowerShell.Core\FileSystem::H:\mslab_v23.06.1\Temp\MountDir\Windows\Panther
PSParentPath : Microsoft.PowerShell.Core\FileSystem::H:\mslab_v23.06.1\Temp\MountDir\Windows
PSChildName : Panther
PSDrive : H
PSProvider : Microsoft.PowerShell.Core\FileSystem
PSIsContainer : True
Name : Panther
FullName : H:\mslab_v23.06.1\Temp\MountDir\Windows\Panther
Parent : Windows
Exists : True
Root : H:
Extension :
CreationTime : 07.09.2023 16:27:50
CreationTimeUtc : 07.09.2023 14:27:50
LastAccessTime : 07.09.2023 16:27:50
LastAccessTimeUtc : 07.09.2023 14:27:50
LastWriteTime : 07.09.2023 16:27:50
LastWriteTimeUtc : 07.09.2023 14:27:50
Attributes : Directory
Mode : d-----
BaseName : Panther
Target : {}
LinkType :
Copy-Item : Der Container kann nicht in ein vorhandenes Endknotenelement kopiert werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1007 Zeichen:13
-
Copy-Item -Path "$PSScriptRoot\Temp\DSC\*" -Destination " ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (H:\mslab_v23.06...ActiveDirectory:String) [Copy-Item],
PSArgumentException
- FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Der Container kann nicht in ein vorhandenes Endknotenelement kopiert werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1007 Zeichen:13
-
Copy-Item -Path "$PSScriptRoot\Temp\DSC\*" -Destination " ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (H:\mslab_v23.06...ActiveDirectory:String) [Copy-Item], PSArgumentExcep
tion
- FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Der Container kann nicht in ein vorhandenes Endknotenelement kopiert werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1007 Zeichen:13
-
Copy-Item -Path "$PSScriptRoot\Temp\DSC\*" -Destination " ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (H:\mslab_v23.06.1\Temp\DSC\xDhcpServer:String) [Copy-Item],
PSArgumentException
- FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Der Container kann nicht in ein vorhandenes Endknotenelement kopiert werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1007 Zeichen:13
-
Copy-Item -Path "$PSScriptRoot\Temp\DSC\*" -Destination " ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (H:\mslab_v23.06.1\Temp\DSC\xDhcpServer:String) [Copy-Item], PSArgument
Exception
- FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Der Container kann nicht in ein vorhandenes Endknotenelement kopiert werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1007 Zeichen:13
-
Copy-Item -Path "$PSScriptRoot\Temp\DSC\*" -Destination " ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (H:\mslab_v23.06.1\Temp\DSC\xDnsServer:String) [Copy-Item],
PSArgumentException
- FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Der Container kann nicht in ein vorhandenes Endknotenelement kopiert werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1007 Zeichen:13
-
Copy-Item -Path "$PSScriptRoot\Temp\DSC\*" -Destination " ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (H:\mslab_v23.06.1\Temp\DSC\xDnsServer:String) [Copy-Item], PSArgumentE
xception
- FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Der Container kann nicht in ein vorhandenes Endknotenelement kopiert werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1007 Zeichen:13
TerminatingError(Copy-Item): "Ein Teil des Pfades "H:\mslab_v23.06.1\Temp\MountDir\Windows\system32\Configuration\metaconfig.mof" konnte nicht gefunden werden."
Copy-Item : Ein Teil des Pfades "H:\mslab_v23.06.1\Temp\MountDir\Windows\system32\Configuration\metaconfig.mof" konnte
nicht gefunden werden.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1338 Zeichen:13
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1342 Zeichen:13
-
Dismount-WindowsImage -Path $mountdir -Save
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Dismount-WindowsImage], COMException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.DismountWindowsImageCommand
Dismount-WindowsImage : Die Anforderung wird nicht unterstützt.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1342 Zeichen:13
-
Dismount-WindowsImage -Path $mountdir -Save
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Dismount-WindowsImage], COMException
- FullyQualifiedErrorId : Microsoft.Dism.Commands.DismountWindowsImageCommand
Starting DC
Configuring DC using DSC takes a while.
Initial configuration in progress. Sleeping 250 seconds
PS>TerminatingError(Invoke-Command): "Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer. Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus."
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
- CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
-
CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
-
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Configuration in Progress. Sleeping 10 seconds
PS>TerminatingError(Invoke-Command): "Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer. Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus."
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
- CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
-
CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
-
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Configuration in Progress. Sleeping 10 seconds
PS>TerminatingError(Invoke-Command): "Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer. Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus."
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
- CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
-
CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
-
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Configuration in Progress. Sleeping 10 seconds
PS>TerminatingError(Invoke-Command): "Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer. Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus."
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
- CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
-
CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
-
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Configuration in Progress. Sleeping 10 seconds
PS>TerminatingError(Invoke-Command): "Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer. Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus."
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
- CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
-
CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
-
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Configuration in Progress. Sleeping 10 seconds
PS>TerminatingError(Invoke-Command): "Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer. Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus."
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
- CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
-
CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
-
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Configuration in Progress. Sleeping 10 seconds
PS>TerminatingError(Invoke-Command): "Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer. Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus."
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
- CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Invoke-Command : Das Argument für den Parameter "VMId" kann nicht überprüft werden. Das Argument ist NULL oder leer.
Geben Sie ein Argument an, das nicht NULL oder leer ist, und führen Sie den Befehl erneut aus.
In H:\mslab_v23.06.1\2_CreateParentDisks.ps1:1355 Zeichen:46
-
$test=Invoke-Command -VMGuid $DC.id -ScriptBlock {Get ...
-
-
CategoryInfo : InvalidData: (:) [Invoke-Command], ParameterBindingValidationException
-
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.InvokeCommandCommand
Configuration in Progress. Sleeping 10 seconds
PS>TerminatingError(): "Die Pipeline wurde beendet."
TerminatingError(): "Die Pipeline wurde beendet."
$global:?
True
`