Get-​Azure​AD​Contact​Thumbnail​Photo

Retrieves the thumbnail photo of a contact

Syntax

Get-AzureADContactThumbnailPhoto
   [-FileName <String>]
   [-FilePath <String>]
   -ObjectId <String>
   [-View <Boolean>]
   [<CommonParameters>]

Description

Retrieves the thumbnail photo of a contact

Examples

Example 1

Get-AzureADContactThumbnailPhoto -ObjectId b052db07-e7ec-4c0e-b481-a5ba550b9ee7

Tag                  :
PhysicalDimension    : {Width=279, Height=390}
Size                 : {Width=279, Height=390}
Width                : 279
Height               : 390
HorizontalResolution : 96
VerticalResolution   : 96
Flags                : 77840
RawFormat            : [ImageFormat: b96b3cae-0728-11d3-9d7b-0000f81ef32e]
PixelFormat          : Format24bppRgb
Palette              : System.Drawing.Imaging.ColorPalette
FrameDimensionsList  : {7462dc86-6180-4c7e-8e3f-ee7333a7a483}
PropertyIdList       : {274, 305, 306, 36867...}
PropertyItems        : {274, 305, 306, 36867...}

This example retrieves the thumbnail photo of the contact object specified with the object ID parameter

Required Parameters

-ObjectId

The object ID of the contact for which the thumbnail photo is retrieved

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-FileName

When provided, the cmdlet will write a copy of the thumbnail photo to this filename

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-FilePath

When provided, the cmdlet will write a copy of the thumbnail photo to this file path using a random filename

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-View

If this parameter value is set to $Ture, display the retrieved thumbnail poto in a new window

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Inputs

System.String

System.Boolean

Outputs

System.Object