Uninstall-ADRMS
Uninstall-ADRMS
Removes configuration for an existing deployment of AD RMS Server.
構文
Parameter Set: Default
Uninstall-ADRMS [[-ADFSOnly]] [[-Force]] [-Credential <PSCredential> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Uninstall-ADRMS cmdlet removes configuration for the Active Directory Rights Management Services (AD RMS) server role and, if appropriate, role services that were installed with AD RMS. To remove configuration for Identity Federation Support only, specify the ADFSOnly parameter.
パラメーター
-ADFSOnly
Removes configuration support for Active Directory Federated Services (AD FS) from this computer, but does not otherwise change the AD RMS configuration.
エイリアス |
なし |
必須? |
false |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Credential<PSCredential>
Specifies user credentials to use for the configuration process. If this parameter is specified, you will be prompted to enter credentials. This parameter operates in a similar manner to the RunAs command.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Force
Forces completion of the command by overriding restrictions that would prevent it from succeeding (so long as a the changes made do not compromise security).
エイリアス |
なし |
必須? |
false |
位置は? |
4 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- SwitchParameter, PSCredential
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
注
- To totally remove the role from the system, the Remove-WindowsFeature cmdlet must be run after this cmdlet is used. The command to do so is the Remove-WindowsFeature ADRMS –IncludeManagementTools command.
例
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This command removes the configuration on this computer. For more information on using this cmdlet, see https://go.microsoft.com/fwlink/?LinkId=136806
C:\PS>Uninstall-ADRMS -Force
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This command removes the Identity Federation Support configuration on this computer. For more information on using this cmdlet, see https://go.microsoft.com/fwlink/?LinkId=136806
C:\PS>Uninstall-ADRMS -ADFSOnly -Force