Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum update-pwfolderSecurity apply changes to subfolder
    • Sign In

    • State Not Answered
    • Replies 4 replies
    • Subscribers 66 subscribers
    • Views 457 views
    • Users 0 members are here

    update-pwfolderSecurity apply changes to subfolder

    Robert Biggar
    Offline Robert Biggar over 1 year ago

    I see where update-pwfolderSecurity can update the security, apply the inherited security to a targeted folder ...

    But is there a way to "copy the security to sub-folders"?

    Thanks!

    Bob

    • Sign in to reply
    • Cancel
    • Robert Biggar
      0 Offline Robert Biggar Fri, May 27 2022 2:04 PM in reply to Brian Flaherty

      Thanks Brian...it all helps!

      Have a good Weekend!

      B

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Fri, May 27 2022 1:03 PM in reply to Robert Biggar

      Here is a link to a blog post I did which selects a parent folder, and sub-folders. Then loops through each sub-folder.  One example.

      http://powerwisescripting.blog/2020/06/22/howtomirror-project-folders-between-datasources/

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Robert Biggar
      0 Offline Robert Biggar Fri, May 27 2022 10:55 AM

      Brian:

      ...so, before I give myself a headache :-D...

      are there any good Powershell algorithms doing recursive processing of folders in ProjectWise ?

      Thanks!

      (worth a shot :-) )

      Bob

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Thu, May 26 2022 10:21 AM

      You would need to loop through all sub-folders and reset / remove the folder security so they will all inherit.

      Look at Reset-PWFolderSecurity

      • 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