Can you please help me to grant permission to different folders ? I used the following article : Grant folder permission(SharePoint) using powershell script

but when I tried to grant permission for nested folder e.g. I need to grant permission to folder Test11 which is inside folder Test1 it can not do it as the following powershell script:

 $doclib=[Microsoft.SharePoint.SPDocumentLibrary]$web.Lists["Shared Documents"]

show only the first level of folders

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.