Get-CsTeamsMeetingPolicy

The CsTeamsMeetingPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users.

Syntax

Get-CsTeamsMeetingPolicy
   [-Tenant <Guid>]
   [[-Identity] <XdsIdentity>]
   [-LocalStore]
   [<CommonParameters>]
Get-CsTeamsMeetingPolicy
   [-Tenant <Guid>]
   [-Filter <String>]
   [-LocalStore]
   [<CommonParameters>]

Description

The CsTeamsMeetingPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users

Teams Meeting policies can be configured at the global and per-user scopes. The Get-CsTeamsMeetingPolicy cmdlet enables you to return information about all the meeting policies that have been configured for use in your organization.

Examples

-------------------------- Example 1 --------------------------

Get-CsTeamsMeetingPolicy

In Example 1, Get-CsTeamsMeetingPolicy is called without any additional parameters; this returns a collection of all the teams meeting policies configured for use in your organization.

-------------------------- Example 2 --------------------------

Get-CsTeamsMeetingPolicy -Identity SalesPolicy

In Example 2, Get-CsTeamsMeetingPolicy is used to return the per-user meeting policy that has an Identity SalesPolicy. Because identities are unique, this command will never return more than one item.

-------------------------- Example 3 --------------------------

Get-CsTeamsMeetingPolicy | Where-Object {$_.AllowMeetNow -eq $True}

The preceding command returns a collection of all the meeting policies where the AllowMeetNow property is True. To do this, Get-CsTeamsMeetingPolicy is first called without any parameters in order to return a collection of all the policies configured for use in the organization. This collection is then piped to the Where-Object cmdlet, which selects only those policies where the AllowMeetNow property is equal to True.

-------------------------- Example 4 --------------------------

Get-CsTeamsMeetingPolicy -Identity Global | fl NewMeetingRecordingExpirationDays

NewMeetingRecordingExpirationDays : 60

The above command returns expiration date setting currently applied on TMR. For more details, see: Auto-expiration of Teams meeting recordings.

Parameters

-Filter

Enables you to use wildcard characters when indicating the policy (or policies) to be returned.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Identity

Unique identifier of the policy to be returned. To refer to the global policy, use this syntax: -Identity global. To refer to a per-user policy, use syntax similar to this: -Identity SalesDepartmentPolicy. If this parameter is omitted, then all the meeting policies configured for use in your organization will be returned.

Type:XdsIdentity
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LocalStore

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tenant

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object