CmdID / PowerShell / Cmdlets / Set
Set-CsOnlineVoicemailUserSettings
Use the Set-CsOnlineVoicemailUserSettings cmdlet to modify the online voicemail user settings of a specific user. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 14 parameters Its page in the reference
Parameters
-CallAnswerRuleThe CallAnswerRule parameter represents the value of the call answer rule, which can be any of the following:-Confirm, -cfPrompts you for confirmation before executing the command.-DefaultGreetingPromptOverwriteThe DefaultGreetingPromptOverwrite parameter represents the contents that overwrite the default normal greeting prompt.-DefaultOofGreetingPromptOverwriteThe DefaultOofGreetingPromptOverwrite parameter represents the contents that overwrite the default out-of-office greeting prompt.-ForceSpecifies whether to suppress warning and confirmation messages.-IdentityThe Identity parameter represents the ID of the specific user in your organization; this can be either a SIP URI or an Object ID.-OofGreetingEnabledThe OofGreetingEnabled parameter represents whether to play out-of-office greeting in voicemail deposit scenario.-OofGreetingFollowAutomaticRepliesEnabledThe OofGreetingFollowAutomaticRepliesEnabled parameter represents whether to play out-of-office greeting in voicemail deposit scenario when user set automatic replies in Outlook.-OofGreetingFollowCalendarEnabledThe OofGreetingFollowCalendarEnabled parameter represents whether to play out-of-office greeting in voicemail deposit scenario when user has an out-of-office event set up in their Outlook calendar.-PromptLanguageThe PromptLanguage parameter represents the language that is used to play voicemail prompts.-ShareDataSpecifies whether voicemail and transcription data is shared with the service for training and improving accuracy.-TransferTargetThe TransferTarget parameter represents the target to transfer the call when call answer rule set to PromptOnlyWithTransfer or VoicemailWithTransferOption.-VoicemailEnabledThe VoicemailEnabled parameter represents whether to enable voicemail service.-WhatIf, -wiDescribes what would happen if you executed the command without actually executing the command.