-
[ PowerShell ] 윈도우 방화벽 Enable / DisableWindows/Powershell 2020. 1. 20. 18:50
Set-NetFirewallProfile -Name [ Domain | Public | Private ] -Enabled [ True | False ]
1. windows Firewall ON
PS C:\> Set-NetFirewallProfile -Name Domain,Public,Private -Enabled True
2. windows Firewall OFF
PS C:\> Set-NetFirewallProfile -Name Domain,Public,Private -Enabled False
'Windows > Powershell' 카테고리의 다른 글
[ Powershell ] 파워쉘 버전 보기 (0) 2019.12.17