Skip to content

Instantly share code, notes, and snippets.

@FlowingSPDG
Last active September 13, 2021 11:33
Show Gist options
  • Save FlowingSPDG/db54623bffd2dcae8573ae3eafcfd6eb to your computer and use it in GitHub Desktop.
Save FlowingSPDG/db54623bffd2dcae8573ae3eafcfd6eb to your computer and use it in GitHub Desktop.
全てのネットワークをプライベートにする(実行ポリシーの変更,管理者権限が必要)
Get-NetConnectionProfile | Where-Object NetworkCategory -eq "Public" | `Set-NetConnectionProfile -NetworkCategory Private
Set-ExecutionPolicy RemoteSigned
@FlowingSPDG
Copy link
Author

コンピューター\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment