Skip to content

Latest commit

 

History

History
159 lines (112 loc) · 3.2 KB

Get-EntraBetaUserThumbnailPhoto.md

File metadata and controls

159 lines (112 loc) · 3.2 KB
title description ms.topic ms.date ms.author ms.reviewer manager author external help file Module Name online version schema
Get-EntraBetaUserThumbnailPhoto
This article provides details on the Get-EntraBetaUserThumbnailPhoto command.
reference
07/23/2024
eunicewaweru
stevemutungi
CelesteDG
msewaweru
Microsoft.Graph.Entra.Beta-Help.xml
Microsoft.Graph.Entra.Beta
2.0.0

Get-EntraBetaUserThumbnailPhoto

Synopsis

Retrieve the thumbnail photo of a user.

Syntax

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

Description

Retrieve the thumbnail photo of a user.

Examples

Example 1: Retrieve thumbnail photo by Id

Connect-Entra -Scopes 'User.Read','User.Read.All'
Get-EntraBetaUserThumbnailPhoto -ObjectId 'SawyerM@contoso.com'
Id      Height Width
--      ------ -----
default 292    278

This example shows how to retrieve the thumbnail photo of a user that is specified through the value of the ObejctId parameter.

  • -ObjectId parameter specifies the user for which the thumbnail photo is retrieved.

Parameters

-FileName

If specified, a copy of the thumbnail photo is written to the specified file name.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-FilePath

If specified, a copy of the thumbnail photo is written to the specified file path with a random name.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-ObjectId

The object ID of the user for which the thumbnail photo is retrieved.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-View

If true, view the photo on the screen in a new window.

Type: System.Boolean
Parameter Sets: (All)
Aliases:

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

-Property

Specifies properties to be returned

Type: System.String[]
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

System.String

System.Boolean

Outputs

System.Object

Notes

Related Links

Set-EntraBetaUserThumbnailPhoto