Share via


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 Windows Live IDs.

Syntax

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


Import-RmsTUD -WindowsLiveId [-PassThru] [-Path] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

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 Windows Live 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 Windows Live ID, specify the WindowsLiveID parameter, and set the Path parameter to the AD RMS provider drive subpath “<PSDrive>:\TrustPolicy\TrustedUserDomain”

Parameters

-DisplayName <String>

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

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

2

-SourceFile <String>

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

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

3

-TrustADFederatedUser <SwitchParameter>

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

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

4

-PassThru <SwitchParameter>

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

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

named

-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.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

1

-WhatIf <SwitchParameter>

Describes what would happen if you executed the command without executing the command.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-WindowsLiveId <SwitchParameter>

Specifies to trust Windows Live IDs.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

2

-CommonParameter

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see About Common Parameter

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Input Type

.

Return Type

Microsoft.RightsManagementServices.PowerShell.TrustedUserDomainImportedItem. Returns the imported trusted user domain when the PassThru parameter is specified. By default, this cmdlet does not generate any output.

Notes

Examples

EXAMPLE 1

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

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

EXAMPLE 2

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

This command configures the AD RMS cluster to trust Windows Live IDs.

See Also

Reference

Export-RmsTUD
com/fwlink/?LinkId=136806