Network Switch Manager Cmdlets

Mis à jour: juillet 2015

S'applique à: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview

Windows PowerShell® est un interpréteur de ligne de commande et un langage de script basé sur des tâches et conçu tout spécialement pour l'administration système. Cette rubrique de référence destinée aux professionnels des technologies de l'information fournit une assistance afin d'utiliser les applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

Network Switch Manager cmdlets

This reference provides cmdlet descriptions and syntax for the Network Switch Manager cmdlets. This table lists the cmdlets in alphabetical order.

Name Description

Disable-NetworkSwitchEthernetPort

Disables an Ethernet port on a network switch.

Disable-NetworkSwitchFeature

Disables features of a network switch.

Disable-NetworkSwitchVlan

Disables a VLAN of a network switch.

Enable-NetworkSwitchEthernetPort

Enables an Ethernet port on a network switch.

Enable-NetworkSwitchFeature

Enables features of a network switch.

Enable-NetworkSwitchVlan

Enables a VLAN for a network switch.

Get-NetworkSwitchEthernetPort

Gets port information for a network switch.

Get-NetworkSwitchFeature

Gets features of a network switch.

Get-NetworkSwitchGlobalData

Gets global data of a network switch.

Get-NetworkSwitchVlan

Gets VLANs for a network switch.

New-NetworkSwitchVlan

Creates a VLAN for a network switch.

Remove-NetworkSwitchEthernetPortIPAddress

Removes an IP address from a port of a network switch.

Remove-NetworkSwitchVlan

Removes network switch VLANs.

Restore-NetworkSwitchConfiguration

Restores configuration for a network switch.

Save-NetworkSwitchConfiguration

Saves configuration for starting a network switch.

Set-NetworkSwitchEthernetPortIPAddress

Sets the IP address on a port on a network switch.

Set-NetworkSwitchPortMode

Sets the port mode on a network switch.

Set-NetworkSwitchPortProperty

Sets the port properties for a network switch.

Set-NetworkSwitchVlanProperty

Modifies properties on a VLAN on a network switch.

Notes

To list all the cmdlets that are available, use the Get-Command –Module NetworkSwitchManager cmdlet.

Pour plus d'informations sur une applet de commande, ou sur sa syntaxe, utilisez l'applet de commande Get-Help <cmdlet name>, où <cmdlet name> est le nom de l'applet de commande que vous recherchez. Pour plus d'informations, exécutez l'une des applets de commande suivantes :

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full