共用方式為


Copying a Rights Policy Template

Updated: October 22, 2009

Applies To: Windows Server 2008 R2, Windows Server 2008 R2 with SP1

By using Windows PowerShell cmdlets, you can copy a rights policy template from one Active Directory Rights Management Services (AD RMS) cluster to another.

Membership in the local AD RMS Template Administrators group, or equivalent, on both AD RMS clusters, is the minimum required to complete this procedure.

To copy a rights policy template

  1. At the Windows PowerShell command prompt, type:

    Get-ChildItem <source_drive>:\RightsPolicyTemplate

    where <source_drive> is the Windows PowerShell drive representing the source AD RMS cluster. Note the ID of the rights policy template you want to copy.

  2. At the Windows PowerShell command prompt, type:

    Copy-Item <source_drive>:\RightsPolicyTemplate\<template_ID> <destination_drive>:\RightsPolicyTemplate

    where <source_drive> is the Windows PowerShell drive representing the source AD RMS cluster, <template_ID> is the ID of the rights policy template you found in the first step, and <destination_drive> is the Windows PowerShell drive representing the destination AD RMS cluster. To copy all rights policy templates from the source AD RMS cluster, type * in place of the rights policy template ID.

Tip

Rather than typing out the entire rights policy template ID on the command line, you can type the first few characters and then press the TAB key. Windows PowerShell will then complete the ID for you.

See Also

Concepts

Using Windows PowerShell to Administer AD RMS
Understanding the AD RMS Administration Provider Namespace
Configuring Rights Policy Templates

Other Resources

Understanding Rights Policy Templates
Understanding Rights Enforcement