Topic Last Modified: 2010-11-03

The global hosted voice mail policy is installed with Lync Server 2010. You can modify it to meet your needs, but you cannot rename or delete it. To modify the global policy, you use the Set-CsHostedVoicemailPolicy cmdlet to set the parameters to appropriate values for your specific deployment.

For details about the Set-CsHostedVoicemailPolicy cmdlet, see the Lync Server Management Shell documentation.

To modify the global hosted voice mail policy

  1. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

  2. Run the Set-CsHostedVoicemailPolicy cmdlet to set the global policy parameters for your environment. For example, run:

    Copy Code
    Set-CsHostedVoicemailPolicy -Destination -Organization ""

    Because this command does not specify the policy’s Identity parameter, Windows PowerShell command-line interface sets the following values on the global hosted voice mail policy:

    • Destination specifies the fully qualified domain name (FQDN) of the hosted Exchange UM service. This parameter is optional, but if you attempt to enable a user for hosted voice mail and the user’s assigned policy does not have a Destination value, the enable will fail.

    • Organization specifies a comma-separated list of the Exchange tenants that home Lync Server users. Each tenant must be specified as the FQDN of that tenant on the hosted Exchange UM service.

    In the previous example cmdlet, the value “” replaces any value that might already be present in the Organization parameter. For example, if the policy already contains a comma-separated list of organizations, the full list would be replaced. If you want to add an organization to the list rather than replace the entire list, run a command similar to the following.
    Copy Code
    $a = Get-CsHostedVoicemailPolicy
    $a.Organization += ","
    Set-CsHostedVoicemailPolicy -Organization $a.Organization