Edit

Share via


Get-CsTeamTemplateList

Get a list of available team templates

Syntax

Get (Default)

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

GetViaIdentity

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

Description

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.

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.

Parameter properties

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

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:String
Default value:en-US
Supports wildcards:False
DontShow:False

Parameter sets

Get
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

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.