{"id":25,"date":"2017-02-03T10:59:52","date_gmt":"2017-02-03T10:59:52","guid":{"rendered":"https:\/\/venetainformatica.com\/?p=25"},"modified":"2017-02-03T10:59:52","modified_gmt":"2017-02-03T10:59:52","slug":"cambiare-tipo-rete-es-da-pubblica-a-privata-con-powershell","status":"publish","type":"post","link":"https:\/\/venetainformatica.com\/index.php\/2017\/02\/03\/cambiare-tipo-rete-es-da-pubblica-a-privata-con-powershell\/","title":{"rendered":"Cambiare tipo rete (es. da pubblica a privata) con Powershell"},"content":{"rendered":"<p>Prima diamo un&#8217;occhiata al profilo utilizzato da schede di rete:<\/p>\n<pre><span class=\"geshifilter\"><code class=\"text geshifilter-text\">Get-NetConnectionProfile<\/code><\/span><\/pre>\n<p>Trovare il numero di InterfaceIndex della scheda che si desidera modificare, quindi utilizzare il comando:<\/p>\n<pre><span class=\"geshifilter\"><code class=\"text geshifilter-text\">Set-NetConnectionProfile -InterfaceIndex &lt;index number&gt; -NetworkCategory Private<\/code><\/span><\/pre>\n<p>Per esempio:<\/p>\n<div class=\"geshifilter\">\n<div class=\"text geshifilter-text\">PS C:\\&gt; Get-NetConnectionProfileName<\/div>\n<div class=\"text geshifilter-text\"><\/div>\n<div class=\"text geshifilter-text\">Nome : ReteInterfaceAlias : Internet<br \/>\nInterfaceIndex : 12<br \/>\nNetworkCategory : Pubblico<br \/>\nIPv4Connectivity : LocalNetwork<br \/>\nIPv6Connectivity : LocalNetwork<\/p>\n<p>PS C:\\&gt; Set-NetConnectionProfile &#8211; InterfaceIndex 12 -NetworkCategory Private<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Prima diamo un&#8217;occhiata al profilo utilizzato da schede di rete: Get-NetConnectionProfile Trovare il numero di InterfaceIndex della scheda che si desidera modificare, quindi utilizzare il comando: Set-NetConnectionProfile -InterfaceIndex &lt;index number&gt; -NetworkCategory Private Per esempio: PS C:\\&gt; Get-NetConnectionProfileName Nome : ReteInterfaceAlias : Internet InterfaceIndex : 12 NetworkCategory : Pubblico IPv4Connectivity : LocalNetwork IPv6Connectivity : LocalNetwork PS [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":1,"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"predecessor-version":[{"id":26,"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/posts\/25\/revisions\/26"}],"wp:attachment":[{"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/venetainformatica.com\/index.php\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}