在 Lync Server 2013 中分配每用户托管的语音邮件策略Assign a per-user hosted voice mail policy in Lync Server 2013

 

部署一个或多个每用户托管语音邮件策略是可选的。如果要部署每用户策略,则必须将其显式分配给用户、组或联系人对象。Deploying one or more per-user hosted voice mail policies is optional. If you do deploy per-user policies, you must explicitly assign them to users, groups, or contact objects.

有关分配或删除每用户托管语音邮件策略分配的详细信息,请参阅以下 cmdlet 的 Lync Server 命令行管理程序文档:For details about assigning or removing the assignment of per-user hosted voice mail policies, see the Lync Server Management Shell documentation for the following cmdlets:

  • Grant-CsHostedVoicemailPolicyGrant-CsHostedVoicemailPolicy

  • Remove-CsHostedVoicemailPolicyRemove-CsHostedVoicemailPolicy

分配每用户托管语音邮件策略To assign a per-user hosted voice mail policy

  1. 启动 Lync Server 命令行管理程序:依次单击“开始”****、“所有程序”****、“Microsoft Lync Server 2013”**** 和“Lync Server 命令行管理程序”****。Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.

  2. 运行 Grant-CsHostedVoicemailPolicy cmdlet 将每用户托管语音邮件策略分配给各个用户、组和联系人对象。例如,运行:Run the Grant-CsHostedVoicemailPolicy cmdlet to assign the per-user hosted voice mail policy to individual users, groups, and contact objects. For example, run:

    Grant-CsHostedVoicemailPolicy -Identity "Ken Myer" -PolicyName ExRedmond
    

    此示例将 ExRedmond 托管语音邮件策略分配给用户 Ken Myer。This example assigned the ExRedmond hosted voice mail policy to user Ken Myer.

    Identity 指定要修改的用户帐户。可以使用以下任意格式指定 Identity 值:Identity specifies the user account to be modified. The Identity value can be specified using any of the following formats:

    • 用户的 SIP 地址The user's SIP address

    • 用户的 Active Directory 用户主体名称The user's Active Directory User-Principal-Name

    • 用户的域 \ 登录名 (例如,contoso \ kenmyer) The user's domain\logon name (for example, contoso\kenmyer)

    • 用户的 Active Directory 域服务显示名称(例如,Ken Myer)。The user's Active Directory Domain Services Display-Name (for example, Ken Myer). 如果使用 Display-Name 作为 Identity 值,则可以使用星号 (*) 通配符。If using the Display-Name as the Identity value, you can use the asterisk (*) wildcard character. 例如,标识 " * smith" 将返回其 Display-Name 以字符串值 "smith" 结尾的所有用户。For example, the Identity "* Smith" returns all the users who have a Display-Name that ends with the string value "Smith".

    备注

    用户的 Active Directory SAM 帐户名不能用作 Identity 值,因为 SAM 帐户名在林中不一定是唯一的。The user’s Active Directory SAM-Account-Name cannot be used as the Identity value because the SAM-Account-Name is not necessarily unique in the forest.