Get-ClusterNetworkInterface - PowerShell Error!
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 commanddoes not take pipeline input or the input and its properties do not match any of the parametersthat take pipeline input. + CategoryInfo : InvalidArgument: (SVR-MBX1:PSObject)[Get-ClusterNetworkInterface], ParameterBindingException + FullyQualifiedErrorId :InputObjectNotBound,Microsoft.FailoverClusters.PowerShell.GetNetworkInterfaceCommand
October 8th, 2012 12:19pm
I got it! The solution is highlighted in TechNet itself!
Description
-----------
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"
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2012 12:33pm