Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Bugs in Get-PWDocumentsBySearch
    • Sign In

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

    Bugs in Get-PWDocumentsBySearch

    Mick Inkster
    Offline Mick Inkster over 5 years ago

    I've noticed two bugs in "Get-PWDocumentsBySearch" and in the newer "Get-PWDocumentsBySearchWithReturnColumns"

    1. When "-Slow" parameter is included the full path isn't built. Full Path will only appear when "-GetAttributes" is included. "-Slow" functionally appears to provide no benefit at the moment.

    2. Only the "DocumentUpdateDate" is populated correctly when "-GetAttributes" isn't included. When not included the date is always "0001-01-01 12:00:00 AM" for both "FileUpdateDate" and "CreateDate".

    Regards,

    Mick

    • Sign in to reply
    • Cancel
    • Dave Brumbaugh
      0 Offline Dave Brumbaugh Thu, Feb 1 2018 12:42 PM

      Correct.  Use -GetAttributes.  Also correct about DocumentUpdateDate.

      • 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