< Back

New-Groups_PhotosData

Sat Jan 18, 2020 12:30 pm

NAME New-Groups_PhotosData



SYNOPSIS

Sets the data for the "photo" property.





SYNTAX

New-Groups_PhotosData -ContentType <string> -Data <string> -groupId <string> -profilePhotoId <string>

[<CommonParameters>]





DESCRIPTION

Sets the data for the "photo" property.



Graph Call: PUT ~/groups/{groupId}/photos/$value





PARAMETERS

-profilePhotoId <string>

The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-groupId <string>

A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Data <string>

The new data.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ContentType <string>

The MIME type (content type) of the data. See https://technet.microsoft.com/en-us/lib ... 95276.aspx for a

list of MIME types.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.



System.String

A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK