Skip to content

Starting error #1

@bnewman-tech

Description

@bnewman-tech

It opens a PowerShell window on start up and shows this.

image

Cannot index into a null array.
At C:\windows_Tools\IntuneSystemTrayV2\Create-IntuneSystemtrayV2.ps1:152 char:1

  • $ip = (Get-WmiObject -class "Win32_NetworkAdapterConfiguration" | Wh ...
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : NullArray
    
    

1
2
3
You cannot call a method on a null-valued expression.
At C:\windows_Tools\IntuneSystemTrayV2\Create-IntuneSystemtrayV2.ps1:172 char:1

  • $lastUpdateInstallation = (( gwmi win32_quickfixengineering |sort ins ...
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    

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