Get-CsTeamsCallHoldPolicy
Returns information about the policies configured to customize the call hold experience for Teams clients.
Syntax
Get-CsTeamsCallHoldPolicy
[[-Identity] <string>]
[<CommonParameters>]
Get-CsTeamsCallHoldPolicy
[-Filter <string>]
[<CommonParameters>]
Description
Teams call hold policies are used to customize the call hold experience for teams clients. When Microsoft Teams users participate in calls, they have the ability to hold a call and have the other entity in the call listen to an audio file during the duration of the hold.
Assigning a Teams call hold policy to a user sets an audio file to be played during the duration of the hold.
Examples
Example 1
PS C:\> Get-CsTeamsCallHoldPolicy
The command shown in Example 1 returns information for all the Teams call hold policies configured for use in the tenant.
Example 2
PS C:\> Get-CsTeamsCallHoldPolicy -Identity 'ContosoPartnerCallHoldPolicy'
In Example 2, information is returned for a single Teams call hold policy: the policy with the Identity ContosoPartnerCallHoldPolicy.
Example 3
PS C:\> Get-CsTeamsCallHoldPolicy -Filter 'Tag:*'
The command shown in Example 3 returns information about all the Teams call hold policies configured at the per-user scope. To do this, the command uses the Filter parameter and the filter value "Tag:*"; that filter value limits the returned data to policies that have an Identity that begins with the string value "Tag:".
Parameters
-Filter
Enables you to use wildcards when retrieving one or more Teams call hold policies. For example, to return all the policies configured at the per-user scope, use this syntax:
-Filter "Tag:*"
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Identity
Unique identifier of the Teams call hold policy to be retrieved.
To return the global policy, use this syntax:
-Identity "Global"
To return a policy configured at the per-user scope, use syntax like this:
-Identity "ContosoPartnerCallHoldPolicy"
You cannot use wildcard characters when specifying the Identity.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object
Related Links
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें