Upravit

Sdílet prostřednictvím


Set-TeamPicture

Update the team picture.

Note: the command will return immediately, but the Teams application will not reflect the update immediately. The Teams application may need to be open for up to an hour before changes are reflected.

Note: this cmdlet is not support in special government environments (TeamsGCCH and TeamsDoD) and is currently only supported in our beta release.

Syntax

Set-TeamPicture
   -GroupId <String>
   -ImagePath <String>
   [<CommonParameters>]

Examples

Example 1

Set-TeamPicture -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -ImagePath c:\Image\TeamPicture.png

Parameters

-GroupId

GroupId of the team

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

-ImagePath

File path and image ( .png, .gif, .jpg, or .jpeg)

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