Get-CsTeamsVirtualAppointmentsPolicy
This cmdlet is used to fetch policy instances of TeamsVirtualAppointmentsPolicy.
Syntax
Identity (Default)
Get-CsTeamsVirtualAppointmentsPolicy
[[-Identity] <String>]
[<CommonParameters>]
Filter
Get-CsTeamsVirtualAppointmentsPolicy
[-Filter <String>]
[<CommonParameters>]
Description
Fetches instances of TeamsVirtualAppointmentsPolicy. Each policy object contains a property called 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 meeting template.
Examples
Example 1
PS C:\> Get-CsTeamsVirtualAppointmentsPolicy
Identity EnableSmsNotifications
-------- ----------------------
Global True
Tag:sms-enabled True
Tag:sms-disabled False
Fetches all the policy instances currently available.
Example 2
PS C:\> Get-CsTeamsVirtualAppointmentsPolicy -Identity sms-enabled
Identity EnableSmsNotifications
-------- ----------------------
Tag:sms-enabled True
Fetches an instance of a policy with a known identity.
Example 3
PS C:\> Get-CsTeamsVirtualAppointmentsPolicy -Filter *sms*
Identity EnableSmsNotifications
-------- ----------------------
Tag:sms-enabled True
Tag:sms-disabled False
The Filter
parameter can be used to fetch policy instances based on partial matches on Identity.
Note: The "Tag:" prefix can be ignored when specifying the identity.
Parameters
-Filter
This parameter can be used to fetch policy instances based on partial matches on the Identity field.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Filter
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Identity
This parameter can be used to fetch a specific instance of the policy.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Identity
Position: | 1 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
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.