Having Trouble with Removing Permissions Script, need to first take off inherite permission then listcontents permission
I need to remove Inherited Permissions from and Address List. Specifically the Address list allows Authenticated Users to List Contents. I dont want them to. I know i can do it through the GUI just fine.. I just want to program the task.I know i have to start withRemove.ADPermission $MyContainer -user "Authenticated User"but the syntax to first remove inherit parent properties and to remove the "LIst Contents" permissions are evading me. I also dont want it to prompt me to confirm.. just do itCan anyone help with this line of code? or a better way or deny system? Just needs to be automatic and not prompt me
April 1st, 2009 10:38pm

What are you trying to do? If you are segregation address list, suggest you to check below reference. White Paper: Configuring Virtual Organizations and Address List Segregation in Exchange 2007 http://technet.microsoft.com/en-us/library/bb936719.aspx About the prompt while running command to confirm the action, you can add -Confirm $false switch to eliminate the confirmation and just run as it is. WhatIf, Confirm, and ValidateOnly Parameters http://technet.microsoft.com/en-us/library/bb124088.aspxAmit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
April 2nd, 2009 6:02am

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

Other recent topics Other recent topics