Export-RmsTUD
Export-RmsTUD is accessible with the help of ADRMSAdmin module. To install ADRMSAdmin on your system please refer to this ADRMSAdmin.
Synopsis
Exports a TUD.
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
-Confirm <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-Force <>
Required? false
Position? Named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters?
-Path <string[]>
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?
-SavedFile <string[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters?
-WhatIf <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
Syntax
Export-RmsTUD [-SavedFile] <String[]> [-Force] [-Path] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
——————-Example 1——————-
Export a TUD by ID
PS C:\> Export-RmsTuD -Path “.\100” -SavedFile “c:\ADRMS\test.xml”
This command exports the TUD with the ID of 100 to the file c:\ADRMS\test.xml.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Export-RmsTUD
You can also read about
- Using Windows PowerShell with AD RMS
- Export-RmsTPD
- Import-RmsTPD
- Import-RmsTUD