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 |
Retrieve the thumbnail photo of a user.
Get-EntraBetaUserThumbnailPhoto
-ObjectId <String>
[-FileName <String>]
[-FilePath <String>]
[-View <Boolean>]
[<CommonParameters>]
Retrieve the thumbnail photo of a user.
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.
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
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
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
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
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
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
System.Boolean