Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

New-CsTeamsVirtualAppointmentsPolicy

This cmdlet is used to create a new instance of the TeamsVirtualAppointmentsPolicy.

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-EnableSmsNotifications

Applicable: Microsoft Teams

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.

Parameter properties

Type:Boolean
Default value:True
Supports wildcards:False
DontShow:False

Parameter sets

-Force

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Identity

Name of the new policy instance to be created.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

System.String

Outputs

TeamsVirtualAppointmentsPolicy.Cmdlets.TeamsVirtualAppointmentsPolicy

Related Links


Feedback

Was this page helpful?