Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Get-PWUserByLastLogin not providing the latest login Date
    • Sign In

    • State Verified Answer
    • +1 person also asked this people also asked this
    • Replies 4 replies
    • Subscribers 65 subscribers
    • Views 261 views
    • Users 0 members are here
    • PWPS
    • powershellscripting
    • PWPowerShell
    • pwps_dab
    • powershell_dab
    • ProjectWise PowerShell Modules

    Get-PWUserByLastLogin not providing the latest login Date

    Ajomon George
    Offline Ajomon George 7 months ago

    I am using Get-PWUserByLastLogin to get users last login details. But unfortunately it is not matching with the audit trail records in user properties section in PW Admin.

    Please see the example below:

    Script is returning "Thursday, November 3, 2022 10:04:51 PM" as the last login date.

    Audit Trail from PW Admin shows last login as 1st February 2023.

    Why is this login information is different?

    • Sign in to reply
    • Cancel

    Top Replies

    • MWBSI
      MWBSI Mon, Feb 6 2023 2:05 PM +1 verified
      The verbose messages suggest that you are using a version of PSPS_DAB earlier than when Get-PWUserByLastLogin was last updated. Please use Get-Module to verify that the version of PWPS_DAB is 23.0…
    • Ajomon George
      Offline Ajomon George Mon, Feb 6 2023 3:53 PM in reply to MWBSI +1 verified
      Thank you for your answer. This fixed the issue.

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies