Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum get-pwfolderSecurity returns extreme number of entries
    • Sign In

    • State Suggested Answer
    • Replies 8 replies
    • Answers 1 answer
    • Subscribers 66 subscribers
    • Views 943 views
    • Users 0 members are here

    get-pwfolderSecurity returns extreme number of entries

    Robert Biggar
    Offline Robert Biggar over 1 year ago

    I ran “Get-PWFolderSecurity” on a folder under my own test area… 

    it only has a couple folder security entries and a couple Document security entries.

    The CMDlet returned 3,161 records and took ~17 minutes to execute

    3100 records seems extreme to me…

    what should I expect for a number of  returns? any insight?

    Thanks.

    Bob

    • Sign in to reply
    • Cancel
    • Brandon Williams
      0 Offline Brandon Williams Thu, Feb 17 2022 4:27 PM in reply to Robert Biggar

      try using this parameter -FolderLevel 1

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Fri, Feb 18 2022 1:07 PM in reply to Robert Biggar

      The Type, Name, and Access_Control_Settings will only be returned for folders which have explicit access control set and is not inheriting.  Hope this helps.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Robert Biggar
      0 Offline Robert Biggar Mon, Jul 18 2022 9:54 AM in reply to Brian Flaherty

      Brian:

      I am trying to get a script to Break Inheritance. The direction I was headed is to change one of the users'  access mask...but I can't "see" what is on the folder...because only explicit ACL is being returned. Have you ever looked into this? Is there a better way...or a way to get the "inherited ACLs"?  

      Thanks

      Bob

      • 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