I have some public folders path in an excel\CSV file. I want to remove all client permission from all public folders which are in excel sheet.
e.g.-
folder path-
Test\Test1 |
Test\Test1\Test2 |
Coming Test\Coming Test1 |
Coming Test\Coming Test1\Coming |
|
|
|
I tried to use Remove-PublicFolderClientPermission -Identity "\Get-Content E:\PF\folders.csv" but it is asking user , identity, access rights every time. But I want that a command
will run and get all the public folder's client permission set to None.
Do any one have any script\command which one can complete my above task?