Forum Discussion

Avian 1's avatar
Avian 1
Iron Contributor
Sep 25, 2022

How to generate a list of hidden items from list or document library list?

Hello,

 

How to generate a list of hidden items from list or document library list using PowerShell?

 

Regards

Avian

  • Avian 1 What do you mean by "hidden items"? Items which item-level permissions which are not shared with users?

     

    If an user account don't have permissions on items, they cannot access list items either from UI or programmatically (PowerShell/REST API, etc.). 

     

    You need to login with Site collection administrator (SCA) account and you will see all items in list/library.


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    • Avian 1's avatar
      Avian 1
      Iron Contributor
      Hello Ganeshanap,

      Yes, we have the site collection admin access.

      If you so many document library and underneath so many folders, it is vert difficult to go each list and library if they are hidden or not.

      I am sure using this we can generate the list for all the sites and sub sites.

      Regards
      Avian

Resources