OSD
OSD copied to clipboard
Length Error for HPCMSL
I have a fresh image built with WinPE 24H2 (10.26100) and it goes fine all the way to the end it throws errors for two things,
HPCMSL in Gallery: 1.7.1 vs Installed: 1.7.1
The property 'Length' cannot be found on this object. Verify that the property exists.
At X:\Program Files\WindowsPowerShell\Modules\HP.ClientManagement\1.7.1\HP.ClientManagement.psm1:1777 char:24
+ for ($i = 0; $i -lt $refined_doc.Length; $i++) {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
The property 'Length' cannot be found on this object. Verify that the property exists.
At X:\Program Files\WindowsPowerShell\Modules\HP.ClientManagement\1.7.1\HP.ClientManagement.psm1:1777 char:24
+ for ($i = 0; $i -lt $refined_doc.Length; $i++) {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
In addition, I also get errors for WindowsCapability too. (this might be related to #146)
Export Windows Capability to C:\OSDCloud\Logs\Get-WindowsCapability.txt
PS>TerminatingError(Get-WindowsCapability): "The request is not supported.
"
Get-WindowsCapability : The request is not supported.
At X:\Program Files\WindowsPowerShell\Modules\OSD\24.6.18.1\Public\OSDCloud.ps1:1985 char:23
+ ... $Report = Get-WindowsCapability -Path C:\ -ErrorAction Ignore | Sel ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-WindowsCapability], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsCapabilityCommand
Get-WindowsCapability : The request is not supported.
At X:\Program Files\WindowsPowerShell\Modules\OSD\24.6.18.1\Public\OSDCloud.ps1:1985 char:23
+ ... $Report = Get-WindowsCapability -Path C:\ -ErrorAction Ignore | Sel ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-WindowsCapability], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsCapabilityCommand