Last active
September 13, 2021 11:33
-
-
Save FlowingSPDG/db54623bffd2dcae8573ae3eafcfd6eb to your computer and use it in GitHub Desktop.
全てのネットワークをプライベートにする(実行ポリシーの変更,管理者権限が必要)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-NetConnectionProfile | Where-Object NetworkCategory -eq "Public" | `Set-NetConnectionProfile -NetworkCategory Private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-ExecutionPolicy RemoteSigned |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
コンピューター\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0001