New-CsTeamsVirtualAppointmentsPolicy
This cmdlet is used to create a new instance of the TeamsVirtualAppointmentsPolicy.
Syntax
New-CsTeamsVirtualAppointmentsPolicy
[-EnableSmsNotifications <Boolean>]
[-Identity] <String>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Creates a new instance of the TeamsVirtualAppointmentsPolicy. This policy can be used to tailor the virtual appointment template meeting experience. The parameter EnableSmsNotifications
allows you to specify whether your users can choose to send SMS text notifications to external guests in meetings that they schedule using the virtual appointment meeting template.
Examples
Example 1
PS C:\> New-CsTeamsVirtualAppointmentsPolicy -Identity sms-enabled
Identity EnableSmsNotifications
-------- ----------------------
Tag:sms-enabled True
Creates a new policy instance with the identity enable-sms. EnableSmsNotifications
will default to true if it is not specified.
Example 2
PS C:\> New-CsTeamsVirtualAppointmentsPolicy -Identity disable-sms -EnableSmsNotifications $false
Identity EnableSmsNotifications
-------- ----------------------
Tag:sms-enabled False
Creates a new policy instance with the identity sms-disabled. EnableSmsNotifications
is set to the value specified in the command.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableSmsNotifications
This property specifies whether your users can choose to send SMS text notifications to external guests in meetings that they schedule using a virtual appointment template meeting.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
-Force
Suppresses the display of any non-fatal error message that might arise when running the command.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Identity
Name of the new policy instance to be created.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.String
Outputs
TeamsVirtualAppointmentsPolicy.Cmdlets.TeamsVirtualAppointmentsPolicy
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기