Get-ClusterNetworkInterface - PowerShell Error! RRS feed

  • Question

  • Hello,

    I'm trying to execute a test script from Client Access Server using Implicit Remoting. I'm able to successfully initiated Implicit Remoting and imported Failover Cluster modules into current session.

    Here is the code:

    $DAGStats = Get-ClusterNode $SVR-MBX1 | Get-ClusterNetworkInterface

    When I execute the code directly in Mailbox server, it works. However when I try to execute this from any other Exchange servers, it fails even though I'm able to establish Implicit Remoting and imported required Failover Cluster modules into current session.

    As per TechNet, it suppose to be output like this:

    Get-ClusterNode node1 | Get-ClusterNetworkInterface 
    Name                Node                Network                 State 
    ----                ----                -------                 ----- 
    node1 - Local A ... node1               Cluster Network 1          Up 
    node1 - Local A ... node1               Cluster Network 2          Up

    Any further help would be greatly appreciated. Thank you!

    The input object cannot be bound to any parameters for the command either because the command

    does not take pipeline input or the input and its properties do not match any of the parameters

    that take pipeline input.    + CategoryInfo          : InvalidArgument: (SVR-MBX1:PSObject)

    [Get-ClusterNetworkInterface], ParameterBindingException    + FullyQualifiedErrorId :


    Monday, October 8, 2012 4:06 PM


  • I got it! The solution is highlighted in TechNet itself!



    This command displays information about the network adapters used by node1 in the local cluster. It is equivalent to "Get-ClusterNetworkInterface -node node1".

    This command works in Implicit Remoting session!

    Get-ClusterNetworkInterface -node "SVR-MBX1"

    Monday, October 8, 2012 4:20 PM