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

Get-Command Export-RmsTUD powershell script command cmdlet adrms

You can also read about

  • Using Windows PowerShell with AD RMS
  • Export-RmsTPD
  • Import-RmsTPD
  • Import-RmsTUD

To know more PowerShell cmdlets(Commands) on ADRMSAdmin (Active Directory Rights Management Services Admin) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *