Get-NetAdapter Cmdlet

Spread the words

Get-NetAdapter cmdlet gets the Network adapter properties.

getnetadapter

AsJob display the cimjob name and job status of the adapter.

asjob

CimSession runs the cmdlet in a remote session or on a remote computer.

cimsession

IncludeHidden specifies both visible and hidden network adapters should be included. By default only visible network adapters are included.

includehidden

InterfaceDescription specifies the network adapter interface description.

interfacedescription

InterfaceIndex specifies the network adapter interface index number.

Interfaceindex

Name specifies the name of the network adapter.

name

Physical returns all physical network adapters.

physical

ThrottleLimit specifies the maximum number of concurrent operations that can be established to run the cmdlet.

Common parameters:

-Verbose

-Debug

-ErrorAction

-ErrorVariable

-OutBuffer

-OutVariable

Output type:

Microsoft.Management.Infrastructure.CimInstance#ROOT/StandardCimv2/NetAdapter

The Microsoft.Management.Infrastructure.CimInstance object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (#) provides the namespace and class name for the underlying WMI object.

Examples:

ex1

ex2

ex3

ex4

ex5

Be the first to comment on "Get-NetAdapter Cmdlet"

Leave a comment

Your email address will not be published.


*