Modifier

Partager via


Get-CsTeamTemplateList

This cmdlet supports retrieving information of all team templates available to your tenant, including both first party Microsoft team templates as well as custom templates. The templates information retrieved includes OData Id, template name, short description, count of channels and count of applications.
Note: All custom templates will be retrieved, regardless of the locale specification. If you have hidden templates in the admin center, you will still be able to see the hidden templates here.

Syntax

Get-CsTeamTemplateList
   [[-PublicTemplateLocale] <String>]
   [<CommonParameters>]
Get-CsTeamTemplateList
   -InputObject <IConfigApiBasedCmdletsIdentity>
   [<CommonParameters>]

Description

Get a list of available team templates

Examples

EXAMPLE 1

PS C:> Get-CsTeamTemplateList

Returns all en-US templates within the universe of templates the admin's tenant has access to.

Note: All 1P Microsoft templates will always be returned in the specified locale. If the locale is not specified, en-US will be used.

EXAMPLE 2

PS C:> (Get-CsTeamTemplateList -PublicTemplateLocale en-US) | where ChannelCount -GT 3

Returns all en-US templates that have 3 channels within the universe of templates the admin's tenant has access to.

Parameters

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

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

-PublicTemplateLocale

The language and country code of templates localization for Microsoft team templates. This will not be applied to your tenant custom team templates. Defaults to en-US.

Type:String
Position:1
Default value:'en-US'
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity

Outputs

Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IErrorObject

Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITeamTemplateSummary

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties.
For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter
[Bssid <String>]:
[ChassisId <String>]:
[CivicAddressId <String>]: Civic address id.
[Country <String>]:
[GroupId <String>]: The ID of a group whose policy assignments will be returned.
[Id <String>]:
[Identity <String>]:
[Locale <String>]: The language and country code of templates localization.
[LocationId <String>]: Location id.
[OdataId <String>]: A composite URI of a template.
[OperationId <String>]: The ID of a batch policy assignment operation.
[OrderId <String>]:
[PackageName <String>]: The name of a specific policy package
[PolicyType <String>]: The policy type for which group policy assignments will be returned.
[Port <String>]:
[PortInOrderId <String>]:
[SubnetId <String>]:
[TenantId <String>]:
[UserId <String>]: UserId.
Supports Guid.
Eventually UPN and SIP.