Change Network Profile to Private Using PowerShell

If you’re fighting with Network Level Authentication (see this post) and need to quickly change a workstation from Public to Private, this should work in PowerShell:


Note the InterfaceIndex of the adapter you want to change, e.g. 13.

Set-NetConnectionProfile -InterfaceIndex 13 -NetworkCategory Private

Credit to this post.

1 thought on “Change Network Profile to Private Using PowerShell

  1. Anon

    It’s rare to get the one sheet on tips these days. Thanks!

Leave a Reply

Your email address will not be published.

Notify me of followup comments via e-mail. You can also subscribe without commenting.

This site uses Akismet to reduce spam. Learn how your comment data is processed.