Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Error after 00Initialize Data Collection #2

Open
red-erik opened this issue Sep 12, 2019 · 1 comment
Open

Script Error after 00Initialize Data Collection #2

red-erik opened this issue Sep 12, 2019 · 1 comment

Comments

@red-erik
Copy link

Hello,
I receive the following error:
WARNING:
00 Initialize and Data Collection
Index operation failed; the array index evaluated to null.
At C:\Reports\vCheck-Exchange\vCheck.ps1:192 char:5

  •             $Question = $file[$Line]
    
  •             ~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : NullArrayIndex

You cannot call a method on a null-valued expression.
At C:\Reports\vCheck-Exchange\vCheck.ps1:196 char:5

  •             $CurSet = $Split[1].Trim()
    
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

Do you have any suggestion ? Script running on Windows 2016 with EMS 2016 installed.

Regards.
Red.

@vall3yv
Copy link

vall3yv commented Jan 27, 2020

Same issue here, any thoughts on how to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants