Home Gitesh Portfolio Blog About Me Gallery Contact

Sitecore: Powershell query to find a user in sitecore

With this powershell command you will be to find a user in sitecore.

 

$userList = Get-User -Filter * | Where-Object {-not $_.IsAdministrator}
    
foreach ($user in $userList){
    Write-Host $user.Profile.Email $user.Profile.UserName $user.Profile.FullName
}

Posted: 12/05/2022 3:28:21 p.m. by Gitesh Shah | with 0 comments