-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Milestone
Description
You cannot call a method on a null-valued expression.
At line:36 char:5
+ $output = $process.StandardOutput.ReadToEnd()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null.
At line:39 char:27
+ $json = $output | ConvertFrom-Json
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [ConvertFrom-Json], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
Metadata
Metadata
Assignees
Labels
No labels