Summary: Use Windows PowerShell 3.0 to get the network connection profile.
How can you easily determine the network connection profile on your computer running Windows 8 or Windows Server 2012 by using Windows PowerShell 3.0?
Use the Get-NetConnectionProfile cmdlet and a wildcard for the network interface alias as shown here.
Get-NetConnectionProfile -InterfaceAlias *inter*