Skip to main content

get login / activity information for all users

This powershell script will output a table consiting of the following bits of information for all Sitecore users:

  • User
  • Is Online
  • Creation Date
  • Last Login Date
  • Last Activity Date
[System.Web.Security.Membership]::GetAllUsers() |

Show-ListView -Property @{Label="User"; Expression={ $_.UserName} },
@{Label="Is Online"; Expression={ $_.IsOnline} },
@{Label="Creation Date"; Expression={ $_.CreationDate} },
@{Label="Last Login Date"; Expression={ $_.LastLoginDate} },
@{Label="Last Activity Date"; Expression={ $_.LastActivityDate } }