PowerShell Logo Small

Enable-NetAdapter



This is the built-in help made by Microsoft for the command 'Enable-NetAdapter', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Enables a network adapter.

SYNTAX


Enable-NetAdapter [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-IncludeHidden] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Enable-NetAdapter [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Enable-NetAdapter [-AsJob] [-CimSession <CimSession[]>] [-IncludeHidden] [-PassThru] [-ThrottleLimit <Int32>] -InterfaceDescription <String[]> [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Enable-NetAdapter cmdlet enables a network adapter. A network adapter must be enabled to connect to a network.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287381
Disable-NetAdapter

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Enable-NetAdapter -Name "Ethernet 2"


A version of the cmdlet that uses position.
PS C:\>Enable-NetAdapter "Ethernet 2"


A version of the cmdlet that uses position and wildcard characters.
PS C:\>Enable-NetAdapter E*2



This example enables the network adapter named Ethernet 2 and restarts the network adapter.




EXAMPLE 2

PS C:\>Enable-NetAdapter –Name VMGuestTrafficAdapter –CimSession HyperVServer4



This example enables the network adapter named VMGuestTrafficAdapter on the remote machine named HyperVServer4 and restarts the network adapter.