你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-RMSServer
Gets a list of RMS servers that can issue templates.
Syntax
Get-RMSServer []
Description
The Get-RMSServer cmdlet returns a list of RMS servers that can issue rights policy templates to apply Rights Management protection.
This cmdlet is not relevant to Azure RMS and not necessary if you have a single Active Directory Rights Management Services (AD RMS) deployment. Use this cmdlet when you have multiple deployments of AD RMS, so that you can identify the server (or cluster) name to specify when you use the Get-RMSTemplate cmdlet to identify the template that you want to use.
Examples
Example 1: Get a list of AD RMS servers that have templates
PS C:\>Get-RMSServer
Number of RMS Servers that can provide templates: 2
ConnectionInfo DisplayName AllowFromScratch
-------------- ----------- ----------------
Microsoft.Information Contoso True
Microsoft.Information Fabrikam True
This command gets a list of AD RMS servers by name that can provide templates.
When the servers are configured in an AD RMS cluster, the cluster name only is displayed.