{"published":"2021-03-05 11:19:58","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2021%2F03%2F05%2Fnew-netfirewallrule\" title=\"PowerShell \u3067 Windows Firewall \u306b\u898f\u5247\u3092\u8ffd\u52a0\u3059\u308b - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Windows","PowerShell"],"url":"https://tnakamura.hatenablog.com/entry/2021/03/05/new-netfirewallrule","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/griefworker/","title":"PowerShell \u3067 Windows Firewall \u306b\u898f\u5247\u3092\u8ffd\u52a0\u3059\u308b","provider_url":"https://hatena.blog","width":"100%","image_url":null,"type":"rich","blog_title":"present","author_name":"griefworker","blog_url":"https://tnakamura.hatenablog.com/","description":"\u7ba1\u7406\u8005\u6a29\u9650\u3067 New-NetFirewallRule \u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u5b9f\u884c\u3002\u30b5\u30f3\u30d7\u30eb\u306f\u6b21\u306e\u901a\u308a\u3002 New-NetFirewallRule -Name Example -DisplayName \"Example TCP\" -Description \"Example Permit TCP/443\" -Protocol TCP -LocalPort 443 -Enabled True -Profile Any -Action Allow Docker \u3084 Packer \u3067\u7d50\u69cb\u4f7f\u3046\u306e\u3067\u30e1\u30e2\u3002","height":"190"}