Skip to content

set-hvpool to update pool settings using json file gives an error #281

@Munipagadala

Description

@Munipagadala

The power shell error:
Get-MapEntry : Cannot bind argument to parameter 'Value' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:6274 char:59

  • ... $updates += Get-MapEntry -key $member.name -value $member.value
  •                                                         ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-MapEntry], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Get-MapEntry

Get-MapEntry : Cannot bind argument to parameter 'Value' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:6274 char:59

  • ... $updates += Get-MapEntry -key $member.name -value $member.value
  •                                                         ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-MapEntry], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Get-MapEntry

Get-MapEntry : Cannot bind argument to parameter 'Value' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:6274 char:59

  • ... $updates += Get-MapEntry -key $member.name -value $member.value
  •                                                         ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-MapEntry], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Get-MapEntry

Updating the Pool: VDI_Patch_test
Exception calling "Desktop_Update" with "3" argument(s): "There was an error in serializing body of message
Desktop_UpdateRequest: 'There was an error generating the XML document.'. Please see InnerException for more details."
At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:6334 char:8

  •    $desktop_helper.Desktop_Update($services,$item,$updates)
    
  •    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : CommunicationException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions