Remove Public folder script

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?

July 27th, 2015 2:17pm

Identity and User are required parameters.  You'll have to write a script that gets all the permissions and removes each of them.
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 1:11am

thnx, and do u have such script?
July 28th, 2015 1:56pm

Sorry, I do not.

Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 8:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics