8000 Cannot index into a null array. At Get-AutopilotDiagnosticsCommunity.ps1:315 char:9 · Issue #49 · andrew-s-taylor/public · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot index into a null array. At Get-AutopilotDiagnosticsCommunity.ps1:315 char:9 #49
Open
@najki78

Description

@najki78

Hello Andrew, happy Friday, a colleague has just reported the following issue while running Get-AutopilotDiagnosticsCommunity 5.7.
The command line used: powershell -ExecutionPolicy Bypass -file .\Get-AutopilotDiagnosticsCommunity.ps1 -AllSessions -ShowPolicies

...
DEVICE ESP:

2024-10-31 04:56:59Z
Policy ./Vendor/MSFT/DMClient/Provider/MS%20DM%20Server/EntDMID : 1 (Processed)
Policy ./Device/Vendor/MSFT/Policy/Config/Browser/Homepages : 1 (Processed)
Cannot index into a null array.
At D:\Autopilot\Get-AutopilotDiagnosticsCommunity.ps1:315 char:9

  •     $items.Value[$items.Value.Count - 1].display = $true
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : NullArray**

2024-10-31 04:56:59Z
Cert ModelName_AC_78babaca-b8c1-468a-8771-850f953141b0_LogicalName_2513c376_9c32_46c8_ba9c_cc0cfab8da0d_Hash_2124934767 : 0 (Not Processed)
2024-10-31 06:06:54Z
Cert ModelName_AC_78babaca-b8c1-468a-8771-850f953141b0_LogicalName_2513c376_9c32_46c8_ba9c_cc0cfab8da0d_Hash_2124934767 : 1 (Processed)

OBSERVED TIMELINE:
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0