Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Set Network Connection Profile with PowerShell

$
0
0

Summary: Use Windows PowerShell to configure the network connection profile.

Hey, Scripting Guy! Question How can I use Windows PowerShell to set the network connection profile for my network adapter?

Hey, Scripting Guy! Answer Use the Get-NetAdapter cmdlet to retrieve a network adapter, pipe it to the Set-NetConnectionProfile cmdlet,
           and specify the network category, for example:

Get-NetAdapter | Set-NetConnectionProfile -NetworkCategory Private


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>