Get-AzureADContactThumbnailPhoto
Retrieves the thumbnail photo of a contact
Syntax
Get-AzureADContactThumbnailPhoto
-ObjectId <String>
[-FilePath <String>]
[-FileName <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
Parameters
-FileName
When provided, the cmdlet will write a copy of the thumbnail photo to this filename
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
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 |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ObjectId
The object ID of the contact for which the thumbnail photo is retrieved
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-View
If this parameter value is set to $True, display the retrieved thumbnail photo in a new window
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
System.Boolean