Import-RmsTUD

Import-RmsTUD

Imports a trusted user domain (TUDs) from a file in Active Directory Rights Management Services (AD RMS) or specifies to trust Microsoft account IDs.

構文

Parameter Set: EnterpriseTUD
Import-RmsTUD [-Path] <String[]> [-DisplayName] <String> [-SourceFile] <String> [[-TrustADFederatedUser]] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: WindowsLiveID
Import-RmsTUD [-Path] <String[]> [-WindowsLiveId] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Import-RmsTUD cmdlet imports an enterprise trusted user domain (TUD) from a file in Active Directory Rights Management Services (AD RMS) or it specifies to trust a Microsoft account ID.

To perform the import enterprise TUDs, specify the DisplayName and SourceFile parameters and set the Path parameter to the AD RMS provider drive subpath “<PSDrive>:\TrustPolicy\TrustedUserDomain” where <PSDrive> is the provider drive ID.

To trust a Microsoft account ID, specify the WindowsLiveID parameter, and set the Path parameter to the AD RMS provider drive subpath “<PSDrive>:\TrustPolicy\TrustedUserDomain”

パラメーター

-DisplayName<String>

Specifies the name that will be used to identify the domain being imported.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-PassThru

Passes the object created by this cmdlet through the pipeline. By default, this cmdlet does not pass any objects through the pipeline.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-Path<String[]>

Specifies a provider drive and path or relative path on the current drive. This parameter is required. Use a dot (.) to specify the current location. This parameter does not accept wildcards and has no default value.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-SourceFile<String>

Specifies the path to the file that contains the domain information to import.

エイリアス

なし

必須?

true

位置は?

3

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-TrustADFederatedUser

Specifies to trust Active Directory Federation Services (ADFS) users.

エイリアス

なし

必須?

false

位置は?

4

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-WindowsLiveId

Specifies to trust Microsoft account IDs.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

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)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.RightsManagementServices.PowerShell.TrustedUserDomainImportedItem

-------------- EXAMPLE 1 --------------

This command imports the TUD information stored in the specified file and assigns the name Fabrikam to the TUD.

C:\PS>Import-TUD -Path . -DisplayName Fabrikam -SourceFile c:\transfer\fabrikam.xml

-------------- EXAMPLE 2 --------------

This command configures the AD RMS cluster to trust Microsoft account IDs.

C:\PS>Import-RmsTUD -Path . -WindowsLiveId

関連トピック

Export-RmsTUD

Using Windows PowerShell with AD RMS