Adjust the network location in PowerShell, please follow these steps:
- Open PowerShell as an administrator.
- Enter the command: Get-NetConnectionProfile Take note of the value displayed in the Name field.
- Next, execute the command: Set-NetConnectionProfile -Name "NetworkName" -NetworkCategory Private Replace "NetworkName" with the value you obtained from the previous command.
- To verify that the network location has been changed, run the command: Get-NetConnectionProfile Review the results to confirm the update.
Thanks
No comments:
Post a Comment