Install-AdcsWebEnrollment
Install-AdcsWebEnrollment
Installs Certification Authority Web Enrollment
構文
Parameter Set: DefaultParameterSet
Install-AdcsWebEnrollment [-CAConfig <String> ] [-Credential <PSCredential> ] [-Force] [ <CommonParameters>]
詳細説明
The Install-AdcsWebEnrollment cmdlet performs initial installation and configuration of the Certification Authority Web Enrollment role service. To remove the Web Enrollment role service use the Uninstall-AdcsWebEnrollment cmdlet.
You can import the cmdlet by running the following commands from Windows PowerShell:
Import-Module ServerManager
Add-WindowsFeature Adcs-Web-Enrollment
パラメーター
-CAConfig<String>
CAConfig parameter string. Do not specify this if there is a local CA installed.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Credential<PSCredential>
If the Web Enrollment service is configured to use Standalone certification authority (CA), then an account that is a member of the local Administrators on the CA is required. If the Web Enrollment service is configured to use an Enterprise CA, then an account that is a member of Domain Admins is required.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Force
ユーザーの確認を求めずにコマンドを強制的に実行します。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- PSCredential
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Microsoft.CertificateServices.Deployment.Commands.WebEnrollment.WebEnrollmentResult
注
- Ensure you run Windows PowerShell® as an administrator. You can use the -force switch to bypass the prompt for confirmation.
To see parameters, run the following command: install-AdcsWebEnrollment -?
例
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This command installs the Web Enrollment role service to a CA specified by <CAComputerName>\<CACommonName>. Replace the computer name of the certification authority (CA) for <CAComputerName> and replace the CA common name for <CACommonName> when running the command.
C:\PS>Install-AdcsWebEnrollment -CAConfig <CAComputerName>\<CACommonName>
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This command isntalls the Web Enrollment role service to a CA specified by <CAComputerName>\<CACommonName> without requiring user confirmation. Replace the computer name of the certification authority (CA) for <CAComputerName> and replace the CA common name for <CACommonName> when running the command.
C:\PS>Install-AdcsWebEnrollment -CAConfig <CAComputerName>\<CACommonName> -force