PS C:\OpenSSH\OpenSSH-Win64>
New-NetFirewallRule -Protocol TCP -LocalPort 22
-Direction Inbound -Action Allow -DisplayName OpenSSH
-Program C:\OpenSSH\OpenSSH-Win64\sshd.exe
Name :
DisplayName : OpenSSH
Description :
DisplayGroup :
Group :
Enabled : True
Profile : Any
Platform : {}
Direction : Inbound
Action : Allow
EdgeTraversalPolicy : Block
LooseSourceMapping : False
LocalOnlyMapping : False
Owner :
PrimaryStatus : OK
Status : 規則は、ストアから正常に解析されました。 (65536)
EnforcementStatus : NotApplicable
PolicyStoreSource : PersistentStore
PolicyStoreSourceType : Local