Question : Exchange 2007 Command Shell: Public Folder Permissions

I asked a similar question earlier where I wanted to add permissions for a user / group to a particular public folder and all it's subfolders:-

get-publicfolder "\Information Systems" -recurse | add-publicfolderclientpermission -user "Domain Admins" -accessrights publishingeditor

My question is, now that I have the domain admins with permissions as publishing editor to this folder and subfolders, how do I remove a specific user from the permissions, regardless of whether they're owner, editor, publishing editor, etc?

Answer : Exchange 2007 Command Shell: Public Folder Permissions

I just ran this in my lab - works fine without the -accessrights parameter

Also, you could run the following command to remove all invalid users from public folder client permissions
Get-PublicFolder <TopOfFolderPathToStart>  -recurse  | Get-PublicFolderClientPermission | Where-Object {$_.User -like "NT User:*"} | Remove-PublicFolderClientPermission -Confirm:$false
Random Solutions  
 
programming4us programming4us