Set-TeamPicture

Note: This cmdlet is currently in Beta.

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.

Syntax

Set-TeamPicture
   -GroupId <String>
   -ImagePath <String>

Examples

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

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

Required Parameters

-GroupId

GroupId of the team

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
Applies to:Microsoft Teams
-ImagePath

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams