Enable-WebGlobalModule
Enable-WebGlobalModule
Enables an IIS module.
구문
Parameter Set: InputProperties
Enable-WebGlobalModule [-Name] <String> [[-PSPath] <String[]> ] [-Force] [-Location <String[]> ] [-Precondition <String> ] [-Type <String> ] [ <CommonParameters>]
Parameter Set: InputObject
Enable-WebGlobalModule [[-PSPath] <String[]> ] -InputObject <PSObject> [-Force] [-Location <String[]> ] [ <CommonParameters>]
자세한 설명
The Enable-WebGlobalModule cmdlet enables the specified Internet Information Services (IIS) module.
매개 변수
-Force
Forces the module to be enabled.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-InputObject<PSObject>
Specifies an input object that contains the module information.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByValue) |
와일드카드 문자 허용 여부 |
false |
-Location<String[]>
Specifies the location in which this cmdlet enables the module.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Name<String>
Specifies the name of the module to enable.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-PSPath<String[]>
Specifies the configuration path. This path can be either an IIS configuration path in the format computer name/webroot/apphost, or the IIS module path in the format IIS:\sites\Default Web Site.
별칭 |
없음 |
필수 여부 |
false |
위치 |
2 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Precondition<String>
Specifies a precondition for the module.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Type<String>
Specifies the managed type of the module.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
Example 1: Enable a module for a site
This command enables the module named UriCacheModule for the default website.
IIS:\>Enable-WebGlobalModule -Name "UriCacheModule" -PSPath 'IIS:\sites\Default Web Site'