PowerShell Logo Small

Restart-NetAdapter



This is the built-in help made by Microsoft for the command 'Restart-NetAdapter', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Restarts a network adapter by disabling and then re-enabling the network adapter.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Restart-NetAdapter cmdlet restarts a network adapter by disabling and then re-enabling the network adapter. This may be needed for certain
properties to take effect in a physical network adapter or to put the network adapter into a known state.



<

RELATED LINKS

Disable-NetAdapter
Enable-NetAdapter
Get-NetAdapter
Rename-NetAdapter
Set-NetAdapter

REMARKS

<

Examples


EXAMPLE 1

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


A version of the cmdlet that uses wildcard characters.
PS C:\>Restart-NetAdapter -Name "E*2"


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


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



This example restarts the network adapter named Ethernet 2.