Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Issue with Update-PWFolderSecurity: Min Max error.
    • Sign In

    • State Not Answered
    • Replies 1 reply
    • Subscribers 64 subscribers
    • Views 183 views
    • Users 0 members are here
    • ProjectWise
    • pwps_dab

    Issue with Update-PWFolderSecurity: Min Max error.

    dkleinot
    Offline dkleinot 11 months ago

    Security Protocol now set to TLS 1.2
    PWPS_DAB Version is 2.1.18.0
    This is a 64-bit process.

    All,

    I am experiencing an issue with the Update-PWFolderSecurity command.  I am inconsistently getting an error about Min and Max:

    Update-PWFolderSecurity : Min (6) must be less than or equal to max (-1) in a Range object.

    The error changes Min values but Max always appears to be -1.  It appears to only happen on specific UserLists:

    #..\100_PROJECT_MANAGEMENT >> TS - ROW - Acquisitions to ----r------
    Update-PWFolderSecurity : Min (5) must be less than or equal to max (-1) in a Range object.
    
    #..\100_PROJECT_MANAGEMENT >> TS - ROW - Appraisals to ----r------
    Update-PWFolderSecurity : Min (6) must be less than or equal to max (-1) in a Range object.
    
    #..\100_PROJECT_MANAGEMENT >> TS - ES - Stormwater to ----r------
    Update-PWFolderSecurity : Min (10) must be less than or equal to max (-1) in a Range object.

    I have instances where the above listed UserLists have worked and instances (for other workareas) where its different UserLists.

    I was able to get around this in the past with the -IncludeInheritance and using the Reset-PWFolderSecurity command before I set any permissions, but that does not appear to be working now.

    Any help is appreciated.

    • Sign in to reply
    • 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