New-CsMobilityPolicy

 

上次修改主題的時間:2017-05-17

重要重要事項:
This only applies to Skype for Business Online and not to Skype for Business Server or Lync on-premises deployments.
重要重要事項:
Please note that if your organization utilizes custom policies, then the UI will no longer correctly reflect the policy values. Once they are implemented they must continue to be managed via PowerShell.

Creates a new mobility policy at the per-user scope. Mobility policies determine whether or not a user can use 商務用 Skype on a mobile device. These policies also manage a user's ability to employ Call via Work, a feature that enables users to make and receive phone calls on their mobile phone by using their work phone number instead of their mobile phone number. Mobility policies can also be used to require Wi-Fi connections when making or receiving calls.

New-CsMobilityPolicy -Identity <XdsIdentity> [-AllowDeviceContactsSync <$true | $false>]  [-AllowSaveCredentials <$true | $false>] [-AllowSaveIMHistory <$true | $false>]  [-Confirm [<SwitchParameter>]] [-Description <String>] [-EnableIPAudioVideo <$true | $false>] [-EnableMobility <$true | $false>] [-EnableOutsideVoice <$true | $false>] [-EnablePushNotifications <$true | $false>] [-Force <SwitchParameter>] [-RequireWIFIForIPVideo <$true | $false>] [-RequireWiFiForSharing <$true | $false>]  [-WhatIf [<SwitchParameter>]]

The command shown in Example 1 creates a new global mobility policy, and disables the use of Call via Work for any users affected by the policy. This is done by setting the EnableOutsideVoice parameter to False.

New-CsMobilityPolicy -Identity global -EnableOutsideVoice $False

商務用 Skype is a client application that enables users to run 商務用 Skype on their mobile phones. Call via Work provides a way for users to make calls on their mobile phone and yet have it appear as though the call originated from their work phone number instead of their mobile phone number. Users who have been enabled for Call via Work can achieve this either by dialing directly from their mobile phone or by using the dial-out conferencing option. With dial-out conferencing, a user effectively asks the to make a call for them. 商務用 Skype Online will set up the call, and then call the user back on their mobile phone. After the user has answered, 商務用 Skype Online will then dial the party being called. Both of these capabilities can be managed by using mobility policies.

With商務用 Skype Online, mobile devices can make or receive phone calls by using either the standard cellular phone network. or by using Wi-Fi connections. Mobility policies can be used to require Wi-Fi connections and to prevent calls over the cellular network.

With 商務用 Skype Online you will have a single mobility policy that applies to all your users. However, you can use the New-CsMobilityPolicy cmdlet to create custom policies at the per-user scope.

Note that two different properties must be configured in order to enable Call via Work. The first property, EnableOutsideVoice, determines whether or not Call via Work is enabled; the second, EnableMobility, determines whether or not users are allowed to use 商務用 Skype on a mobile device. Both of these properties must be set to true before a user can take advantage of Call via Work. If EnableMobility is set to True and EnableOutsideVoice is set to False, the user can run 商務用 Skype on a mobile device but won't be able to use Call via Work. If EnableMobility is set to False and EnableOutsideVoice is set to True the user will not be able to run 商務用 Skype on a mobile device. In turn, that means that the user will not be able to use Call via Work, regardless of the value of the EnableOutsideVoice property.

To use Call via Work, users must be managed by a voice policy that allows simultaneous ringing.

 

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.Xds.XdsIdentity

Unique Identity to be assigned to the policy. New mobility policies can be created at the per-user scope.

To create a new per-user policy, use an Identity similar to this:

-Identity SalesDepartmentPolicy

If you need to make changes to an existing policy, use the Set-CsMobilityPolicy cmdlet.

AllowDeviceContactsSync

Optional

System.Boolean

When set to True, contacts from a mobile device are synchronized with the Skype for Business client. When set to False, contacts on the mobile device won't be synchronized.

AllowSaveCredentials

Optional

System.Boolean

When set to True (the default value) users will be allowed to save credentials information (such as passwords) on their mobile device. This information can then be applied to auto-logon scenarios.

AllowSaveIMHistory

Optional

System.Boolean

When set to True (the default value) users will be allowed to save transcripts of IM and conferencing sessions on their mobile devices.

Confirm

Optional

System.Management.Automation.SwitchParameter

Prompts you for confirmation before executing the command.

EnableIPAudioVideo

Optional

System.Boolean

When set to False, prohibits the user from making voice over IP (VoIP) calls using the mobile device. The default value is True, meaning that VoIP calls are allowed.

EnableMobility

Optional

System.Boolean

When set to True, users are allowed to use 商務用 Skype app.

EnableOutsideVoice

Optional

System.Boolean

When set to True, enables users to take advantage of Call via Work. When set to False, users cannot use Call via Work.

The default value is True.

EnablePushNotifications

Optional

System.Boolean

When set to True, the mobile device that is used by a user will receive notifications on that mobile device. Set to False no notifications will be sent to the mobile device.

Force

Optional

System.Management.Automation.SwitchParameter

Suppresses the display of any non-fatal error message that might occur when running the command.

RequireWIFIForIPVideo

Optional

System.Boolean

When set to True, the user can use IP video only in calls made when mobile device is connected to a Wi-Fi network. If mobile device goes outside of Wi-Fi range, then video calls will be received as audio calls only. If this property is set to False (the default value) then the user can make or receive IP video calls in using either a Wi-Fi or a cellular data connection.

RequireWiFiForSharing

Optional

System.Boolean

When set to True, mobile users must use a WiFi connection in order to participate in an application sharing session. When set to False (the default value) mobile users can participate in application sharing by using either a WiFi connection or a cellular (3G/4G) connection.

If this value is set to True, then users then users will not be able to change their sharing configuration settings. If this value is set to False users can use the Options page to modify their sharing configuration settings.

WhatIf

Optional

System.Management.Automation.SwitchParameter

Describes what would happen if you executed the command without actually executing the command.

None. The New-CsMobilityPolicy cmdlet does not accept pipelined input.

Creates new instances of the Microsoft.Rtc.Management.WriteableConfig.Policy.Mobility.Mobility object.

 
顯示: