Enable-SecurityPolicy
Enable-SecurityPolicy
Enables predefined security group policies.
구문
Parameter Set: All
Enable-SecurityPolicy -AllPolicy [ <CommonParameters>]
Parameter Set: Specific
Enable-SecurityPolicy -Policy <String[]> [ <CommonParameters>]
자세한 설명
The Enable-SecurityPolicy cmdlet enables pre-defined group policies for security features. The cmdlet enables group policies for Windows Defender, Windows Update, and Windows Firewall.
매개 변수
-AllPolicy
Indicates that the cmdlet enables all pre-defined group policies for Windows Update, Windows Firewall, and Windows Defender.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Policy<String[]>
Specifies an array of group policies to enable. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- WindowsUpdate
-- Firewall
-- WindowsDefender
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
Example 1: Enable predefined security group policies
This command enables the security group policy for Windows Update.
PS C:\> Enable-SecurityPolicy -Policy "WindowsUpdate"