Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

Get-NicTeamingPolicy not working

$
0
0

When I attempt to use either of the following commands I get an error.  What am I missing?

 

Get-VirtualPortGroup -name PGNAME | Get-NicTeamingPolicy

 

Get-NicTeamingPolicy : 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.

At line:1 char:40

+ Get-VirtualPortGroup -name mm01-mgmt | Get-NicTeamingPolicy

+                                        ~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidArgument: (mm01-mgmt:PSObject) [Get-NicTeamingPolicy], ParameterBindingException

    + FullyQualifiedErrorId : InputObjectNotBound,VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.GetNicTeamingPolicy

 

 

 

 

get-vmhost hostA | Get-VirtualSwitch -name dvSwitch01 | Get-NicTeamingPolicy

Get-NicTeamingPolicy : 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.

At line:1 char:78

+ get-vmhost hostA | Get-VirtualSwitch -name dvSwitch01 | Get ...

+                                                                              ~~~

    + CategoryInfo          : InvalidArgument: (mm01-vc01-dvSwitch01:PSObject) [Get-NicTeamingPolicy], ParameterBindingException

    + FullyQualifiedErrorId : InputObjectNotBound,VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.GetNicTeamingPolicy

 

Thanks


Viewing all articles
Browse latest Browse all 176483

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>