This is the built-in help made by Microsoft for the command 'Get-NetConnectionProfile', 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.
Gets a connection profile.
Get-NetConnectionProfile [-AsJob] [-CimSession <CimSession[]>] [-InterfaceAlias <String[]>] [-InterfaceIndex <UInt32[]>] [-IPv4Connectivity <IPv4Connectivity[]>]
[-IPv6Connectivity <IPv6Connectivity[]>] [-Name <String[]>] [-NetworkCategory <NetworkCategory[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
The Get-NetConnectionProfile cmdlet gets a connection profile associated with one or more physical network adapters. A connection profile represents a network connection.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287432
Set-NetConnectionProfile
<
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.