{"id":423,"date":"2026-09-16T15:59:57","date_gmt":"2026-09-16T21:59:57","guid":{"rendered":"https:\/\/blog.d5.ca\/?p=423"},"modified":"2026-09-16T16:36:59","modified_gmt":"2026-09-16T22:36:59","slug":"change-network-profile-via-powershell","status":"publish","type":"post","link":"https:\/\/blog.d5.ca\/?p=423","title":{"rendered":"Change Network Profile via Powershell"},"content":{"rendered":"<p>To easily change the security profile of a network connection, use Powershell:<\/p>\n<pre># List network connections to find the Interface Alias\r\nGet-NetConnectionProfile\r\n\r\n# Set the profile to Private for a specific network (Other options are Public and Domain)\r\nSet-NetConnectionProfile -InterfaceAlias \"Network_Alias\" -NetworkCategory Private<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To easily change the security profile of a network connection, use Powershell: # List network connections to find the Interface Alias Get-NetConnectionProfile # Set the profile to Private for a specific network (Other options are Public and Domain) Set-NetConnectionProfile -InterfaceAlias &#8220;Network_Alias&#8221; -NetworkCategory Private<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[25],"tags":[43,64],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-reference","tag-networking","tag-powershell"],"_links":{"self":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=423"}],"version-history":[{"count":1,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":424,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions\/424"}],"wp:attachment":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}