Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Get-PWDocumentsBySearch : Not logged in as a ProjectWise Administrator.
    • Sign In

    • State Verified Answer
    • Replies 25 replies
    • Answers 3 answers
    • Subscribers 69 subscribers
    • Views 6980 views
    • Users 0 members are here

    Get-PWDocumentsBySearch : Not logged in as a ProjectWise Administrator.

    Gavin Chapman
    Offline Gavin Chapman over 5 years ago

    When running a simple 'Get-PWDocumentsBySearch' command
    $Docs = Get-PWDocumentsBySearch -SearchName "$ProjectFolderPath\$pdfSearchName" -filename '%.pdf' -GetAttributes

    I now get an error, which I never used to get before
    Get-PWDocumentsBySearch : Not logged in as a ProjectWise Administrator.

    I am using the Open-PWConnection method because I don't want to use an administrator login -Admin parameter, the New-PWLogin method requires an administrator login and I don't want to use the GUI because this is on an automatic scheduled task.

    ModuleType Version    Name
    ---------- -------    ----
    Binary     1.5.5.0    PWPS_DAB

    Any assistance will be greatly appreciated
    Kind regards Gavin Chapman

    • Sign in to reply
    • Cancel

    Top Replies

    • John Story
      Offline John Story Mon, May 14 2018 8:27 AM in reply to Gavin Chapman +4
      I hope this is a typo or requires some other context... Similarly, for PWPS_DAB we use a "Service" account that is granted elevated rights to given Projects on a Project by Project basis, and it is definitely…
    • Duncan Taylor
      Offline Duncan Taylor Tue, May 15 2018 8:32 AM in reply to John Story +3
      A ditto for me. This will result in the PowerShell functions becoming absolutely useless. I am using PowerShell to produce dashboard reports from ProjectWise data (which are not available from Project…
    • Gavin Chapman
      Offline Gavin Chapman Mon, May 14 2018 5:58 AM in reply to Brian Flaherty +2
      Hi Brian We have a 'Batch' user account that we use for certain automated tasks, these automated tasks manipulate data in one way or another, this account doesn't have admin rights and for certain reasons…

    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