Site icon TOSS

Import-RmsTUD

powershell

Import-RmsTUD is accessible with the help of ADRMSAdmin module. To install ADRMSAdmin on your system please refer to this ADRMSAdmin.

Synopsis

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

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 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 “:\TrustPolicy\TrustedUserDomain” where 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 “:\TrustPolicy\TrustedUserDomain”

Parameters

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

    Required?                    true
    Position?                    2
    Default value                
    Accept pipeline input?       true (ByValue, ByPropertyName)
    Accept wildcard characters?  false

-PassThru <SwitchParameter>
    Passes the object created by this cmdlet through the pipeline. By default, this cmdlet does not pass any objects through the pipeline.

    Required?                    false
    Position?                    named
    Default value                
    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.

    Required?                    true
    Position?                    1
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  false

-SourceFile <String>
    Specifies the path to the file that contains the domain information to import.

    Required?                    true
    Position?                    3
    Default value                
    Accept pipeline input?       true (ByValue, ByPropertyName)
    Accept wildcard characters?  false

-TrustADFederatedUser <SwitchParameter>
    Specifies to trust Active Directory Federation Services (ADFS) users.

    Required?                    false
    Position?                    4
    Default value                
    Accept pipeline input?       true (ByValue, ByPropertyName)
    Accept wildcard characters?  false

-WindowsLiveId <SwitchParameter>
    Specifies to trust Microsoft account IDs.

    Required?                    true
    Position?                    2
    Default value                
    Accept pipeline input?       true (ByValue, ByPropertyName)
    Accept wildcard characters?  false

-Confirm <SwitchParameter>
    Prompts you for confirmation before running the cmdlet.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

-WhatIf <SwitchParameter>
    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

Syntax

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

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

————– EXAMPLE 1 ————–
C:\PS>Import-TUD -Path . -DisplayName TOSSolution -SourceFile c:\transfer\TOSSolution.xml
This command imports the TUD information stored in the specified file and assigns the name TOSSolution to the TUD.

————– EXAMPLE 2 ————–
C:\PS>Import-RmsTUD -Path . -WindowsLiveId
This command configures the AD RMS cluster to trust Microsoft account IDs

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Import-RmsTUD

You can also read about

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

Exit mobile version