編輯

共用方式為


Get-CsVoicemailReroutingConfiguration

Retrieves settings that provide public switched telephone network (PSTN) phone numbers to access Exchange Subscriber Access and Auto Attendant features. This cmdlet was introduced in Lync Server 2010.

Syntax

Get-CsVoicemailReroutingConfiguration
   [[-Identity] <XdsIdentity>]
   [-LocalStore]
   [<CommonParameters>]
Get-CsVoicemailReroutingConfiguration
   [-Filter <String>]
   [-LocalStore]
   [<CommonParameters>]

Description

This cmdlet retrieves settings that determine where Auto Attendant and Subscriber Access calls are rerouted to when IP connectivity from Skype for Business Server in the branch site to the Exchange Server located in the data center is not available.

Auto Attendant and Subscriber Access are features of Exchange. The Auto Attendant feature provides voice recognition and touch-tone control (dual-tone multifrequency, or DTMF) so that outside callers can navigate a company's phone system to reach the department or employee they want or, in Message Taking Mode, to accept messages for users. (Voice rerouting for Message Taking Mode is recommended.) Subscriber Access allows internal users to access their Microsoft Outlook mailbox from a phone. The numbers provided by these settings allow callers to leave voice mail messages for Enterprise Voice users (the AutoAttendantNumber setting) and for those users to retrieve voice mail even if the IP connectivity from the Skype for Business Server deployment at a remote site to Exchange in the data center is unavailable (the SubscriberAccessNumber setting).

Calling this cmdlet with no parameters will return all voice mail rerouting configurations.

Examples

-------------------------- Example 1 --------------------------

Get-CsVoicemailReroutingConfiguration

This example retrieves all of the voice mail rerouting configuration settings defined in this deployment of Skype for Business Server 2015. For example, if there are three branch offices where a Survivable Branch Appliance is deployed, this command will return three voice mail rerouting configuration sets.

-------------------------- Example 2 --------------------------

Get-CsVoicemailReroutingConfiguration -Identity site:BranchOffice_Portland

This example retrieves the voice mail rerouting configuration settings for the site BranchOffice_Portland.

-------------------------- Example 3 --------------------------

Get-CsVoicemailReroutingConfiguration -Filter *:BranchOffice*

This example retrieves all the voice mail rerouting settings for all sites with site names beginning with the string BranchOffice (for example, BranchOffice_Portland, BranchOffice_Sacramento).

-------------------------- Example 4 --------------------------

Get-CsVoicemailReroutingConfiguration | Where-Object {$_.Enabled -eq $False}

This example retrieves all the voice mail rerouting configurations that are not enabled. The first part of this command is a call to the Get-CsVoicemailReroutingConfiguration cmdlet, which retrieves a collection of all the voice mail rerouting configurations. That collection is then piped to the Where-Object cmdlet. The Where-Object cmdlet narrows that collection down to include only the configurations that have an Enabled property equal to (-eq) False.

Parameters

-Filter

The Filter parameter allows you to retrieve configuration settings for a particular set of sites based on wildcard matching.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-Identity

The unique identifier of the configuration you want to retrieve. For this cmdlet the Identity will be either Global or Site:<site name>, where <site name> is the name of the site to which the settings are applied.

Type:XdsIdentity
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-LocalStore

Retrieves the voice mail rerouting configuration from the local replica of the Central Management store, rather than the Central Management store itself.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Inputs

None.

Outputs

Retrieves one or more objects of type Microsoft.Rtc.Management.WritableConfig.Settings.ExumRouting.VoicemailReroutingConfiguration.