PowerShell Logo Small

Get-NetConnectionProfile



This is the built-in help made by Microsoft for the command 'Get-NetConnectionProfile', 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

Gets a connection profile.

SYNTAX


Get-NetConnectionProfile [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-InterfaceAlias <String[]>] [-InterfaceIndex <UInt32[]>]
[-IPv4Connectivity <IPv4Connectivity[]>] [-IPv6Connectivity <IPv6Connectivity[]>] [-Name <String[]>] [-NetworkCategory <NetworkCategory[]>]
[-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-NetConnectionProfile cmdlet gets a connection profile associated with one or more physical network adapters. A connection profile
represents a network connection.



<

RELATED LINKS

Set-NetConnectionProfile

REMARKS

<

Examples


Example 1: Get a connection profile

PS C:\>Get-NetConnectionProfile -InterfaceAlias "Ethernet1" | Set-NetConnectionProfile -NetworkCategory Public



This first part of this command gets the connection profile for the network adapter named Ethernet1. The command passes the results to the
Set-NetConnectionProfile cmdlet by using the pipe operator. The second part of the command changes the value of the network category for the
connection profile.