Grant-CsOnlineVoicemailPolicy
Assigns an online voice mail policy at the per-user scope. Online voicemail policies manage usages for Voicemail service.
Syntax
Grant-CsOnlineVoicemailPolicy
[[-PolicyName] <string>]
[-Global]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Grant-CsOnlineVoicemailPolicy
[[-Identity] <string>]
[[-PolicyName] <string>]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
This cmdlet assigns an existing user-specific online voicemail policy to a user.
Examples
-------------------------- Example 1 --------------------------
Grant-CsOnlineVoicemailPolicy -Identity "user@contoso.com" -PolicyName TranscriptionDisabled
The command shown in Example 1 assigns the per-user online voicemail policy TranscriptionDisabled to a single user user@contoso.com.
Parameters
Prompts you for confirmation before executing the command.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams, Skype for Business Online |
Sets the parameters of the Global policy instance to the values in the specified policy instance.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams, Skype for Business Online |
The Identity parameter represents the ID of the specific user in your organization; this can be either a SIP address or an Object ID.
Type: | System.String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams, Skype for Business Online |
Enables you to pass a user object through the pipeline that represents the user being assigned the policy. By default, the Grant-CsOnlineVoicemailPolicy cmdlet does not pass objects through the pipeline.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams, Skype for Business Online |
A unique identifier(name) of the policy.
Type: | String |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams, Skype for Business Online |
Describes what would happen if you executed the command without actually executing the command.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams, Skype for Business Online |
Related Links
Feedback
Submit and view feedback for