none
Cannot convert 'System.Object[]' to the type 'Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.Cluster' ??! RRS feed

  • Question

  • Hi guys, anyone an idea why this is not working (btw an example taken from technet itself ....)

    $PCluster = Get-DPMProductionCluster -DPMServerName "DPMServer02"
    
    Get-DPMProductionVirtualName -ProductionCluster $PCluster
    

    Result is .... -> ?!?

    Get-DPMProductionVirtualName : Cannot convert 'System.Object[]' to the type 'Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.Cluster' required by parameter 'ProductionCluster'. Specified method is not supported.

    At line:1 char:49

    + Get-DPMProductionVirtualName -ProductionCluster $PCluster

    +                                                 ~~~~~~~~~

        + CategoryInfo          : InvalidArgument: (:) [Get-DPMProductionVirtualName], ParameterBindingException

        + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.GetVirtualName

    Thanks in advance, Markus

      


    Tuesday, March 13, 2018 2:45 PM

All replies