CmdID / PowerShell / Cmdlets / Get
Get-UserPhoto
Use the Get-UserPhoto cmdlet to view information about the user photos feature that allows users to associate a picture with their account. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the user account.-AnrThe Anr parameter specifies a string on which to perform an ambiguous name resolution (ANR) search.-CredentialThe Credential parameter specifies the username and password that's used to run this command.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-FilterThe Filter parameter uses OPATH syntax to filter the results by the specified properties and values.-GroupMailboxThe GroupMailbox switch is required to return Microsoft 365 Groups in the results.-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.-OrganizationalUnitThe OrganizationalUnit parameter filters the results based on the object's location in Active Directory.-PhotoTypeThis parameter is reserved for internal Microsoft use.-PreviewThe Preview switch filters the results by preview photos.-ReadFromDomainControllerThe ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-SortByThe SortBy parameter specifies the property to sort the results by.