User Tools

Site Tools


software:microsoft:windows:powershell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:microsoft:windows:powershell [2020/08/25 02:31] – [PowerShell Commands] superwizardsoftware:microsoft:windows:powershell [2023/09/30 16:32] (current) – [Change Network Location to Public or Private with PowerShell] superwizard
Line 1: Line 1:
 ====== PowerShell Commands ====== ====== PowerShell Commands ======
 +
 +====== Change Network Location to Public or Private with PowerShell ======
 +
 +
 +<WRAP center round box >
 +
 +2023-09-30
 +
 +
 +On Windows 10/11 and Windows Server 2022/2019/2016, you can manage network connection locations from PowerShell. Open the elevated PowerShell console. List Windows network interfaces and the network profiles applied to them:
 +
 +
 +
 +To change the network for the network adapter with index 8 to Private, run the command:
 +     Set-NetConnectionProfile -InterfaceIndex 8 -NetworkCategory Private
 +Check that the network profile has changed:
 +     Get-NetConnectionProfile -InterfaceIndex 8
 +
 +From <https://woshub.com/how-to-change-a-network-type-from-public-to-private-in-windows/> 
 +
 +
 +
 +</WRAP>
 +
 +
 +====== Backup SQL ======
 +
  
 <WRAP center round box > <WRAP center round box >
software/microsoft/windows/powershell.1598322708.txt.gz · Last modified: 2020/08/25 02:31 by superwizard