Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Identify Internet connected NIC

$
0
0

This is perfect!

Thank you very much Richard!!!

Here’s the final script:

$PublicInterface = Get-NetConnectionProfile -IPv4Connectivity Internet | Select-Object -ExpandProperty InterfaceAlias

Rename-NetAdapter -Name $PublicInterface -NewName “Public”

 


Viewing all articles
Browse latest Browse all 13067

Trending Articles