Export-RmsTUD

Export-RmsTUD

Exports a trusted user domain (TUD) in Active Directory Rights Management Services (AD RMS) to a file.

Syntax

Parameter Set: Default
Export-RmsTUD [-Path] <String[]> [-SavedFile] <String[]> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Export-RmsTUD cmdlet exports the internal enterprise trusted user domain (TUD) in Active Directory Rights Management Services (AD RMS) to a file.

To perform the export, set the SavedFilePath parameter to the export file path, and then set the Path parameter to the AD RMS provider subpath “<PSDrive>:\TrustPolicy\TrustedUserDomain\<TUD_ID>” where <PSDrive> is the provider drive ID and <TUD_ID> is the ID of the internal TUD.

Parameters

-Force

Overrides restrictions that prevent the command from succeeding, just so the changes do not compromise security. For example, Force will override the read-only attribute or create directories to complete a file path, but it will not attempt to change file permissions.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SavedFile<String[]>

Specifies the full path and filename of the file that receives the exported content.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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

This command exports the TUD with the ID of 100 to the file c:\temp\test.xml.

C:\PS>Export-RmsTuD -Path .\100 -SavedFile c:\temp\test.xml

Export-RmsTPD

Import-RmsTPD

Import-RmsTUD

com/fwlink/?LinkId=136806