Edit

Share via


Get-CsTeamsEventsPolicy

Returns information about the Teams Events policy. Note that this policy is currently still in preview.

Syntax

Identity (Default)

Get-CsTeamsEventsPolicy
    [[-Identity] <String>]
    [<CommonParameters>]

Filter

Get-CsTeamsEventsPolicy
    [-Filter <String>]
    [<CommonParameters>]

Description

Returns information about the Teams Events policy. TeamsEventsPolicy is used to configure options for customizing Teams Events experiences.

Examples

Example 1

PS C:\> Get-CsTeamsEventsPolicy

Returns information for all Teams Events policies available for use in the tenant.

Example 2

PS C:\> Get-CsTeamsEventsPolicy -Identity Global

Returns information for Teams Events policy with identity "Global".

Parameters

-Filter

Enables using wildcards when specifying the policy (or policies) to be retrieved. Note that you cannot use both the Filter and the Identity parameters in the same command.

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

Unique identifier assigned to the Teams Events 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.

Inputs

None

Outputs

System.Object