Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum How to disable External ProjectWise users if they have not logged in after a pre-determined amount of time
    • Sign In

    • State Not Answered
    • Replies 1 reply
    • Subscribers 65 subscribers
    • Views 706 views
    • Users 0 members are here

    How to disable External ProjectWise users if they have not logged in after a pre-determined amount of time

    swaroop bukke
    Offline swaroop bukke over 3 years ago

    How to disable External ProjectWise users if they have not logged in after a pre-determined amount of time

    do you have any powershell script or command to check the external  users  who have not logged in for some time .

    how to disable the user account using powershell script

    • Sign in to reply
    • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Mon, Mar 9 2020 4:40 PM

      You use one of the following to determine when a user last logged in (check the help for each:

      • Get-PWMonthlyLogins
      • Get-PWMonthlyLoginsDataTable
      • Get-PWUserByLastLogin

      Then, use the Set-PWUserEnabled  cmdlet to disable each user.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel

    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