powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-NicTeamingPolicy



NAME
Get-NicTeamingPolicy

SYNOPSIS
Retrieves the Nic teaming policies of the specified virtual switches and virtual port groups.

SYNTAX
Get-NicTeamingPolicy [-VirtualSwitch] [-Server ] []

Get-NicTeamingPolicy [-VirtualPortGroup] [-Server ] []


DESCRIPTION
Retrieves the Nic teaming policies of the specified virtual switches and virtual port groups. Nic teaming policy al
lows to determine how network traffic is distributed between adapters and how to reorganize traffic in case of ada
pter failure.


PARAMETERS
-VirtualSwitch
Specify the virtual switches whose Nic teaming policy you want to retrieve.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

-Server
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co
mmand runs on the default servers. For more information about default servers, see the description of Connect-V
IServer.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-VirtualPortGroup
Specifies the port groups whose Nic teaming policy you want to retrieve.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NicTeamingVirtualSwitchPolicy/ NicTeamingVirtualPortGroupPolicy


NOTES




-------------- Example 1 --------------

C:\PS>Get-VirtualPortGroup -VMHost (Get-VMHost *.128) -Name Virtual* | Get-NicTeamingPolicy | fl is*


For the specified virtual port groups, retrieves the Nic teaming policy settings whose names start with "is".





-------------- Example 2 --------------

C:\PS>Get-VirtualSwitch -VMHost (Get-VMHost *.128) -Name vswitch | Get-NicTeamingPolicy


Retrieves the Nic teaming policy of the specified virtual switch.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-NicTeamingPolicy.html
Set-NicTeamingPolicy