header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Active Directory modify option in security tab account user
Last Post 06 Mar 2012 01:58 AM by Laurent BERARD. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Laurent BERARDUser is Offline
New Member
New Member
Posts:2
Avatar

--
02 Mar 2012 07:08 AM
    Hi all,

    I have a customur who has just migrated to Exchange 2010, all accounts are in an AD OU, to solve a problem with active sync, it is necessary that for each account, the check box "Include inheritable permissions from this object's parent" is activated.
    This checkbox is for each AD accounts in the Security tab, then choose the Advanced button, the box is at the bottom,

    Is it possible to script this action in PS?

    Thank you all for your help, and sorry for my poor english :-)

    Laurent Berard

    Asher PataelUser is Offline
    New Member
    New Member
    Posts:78
    Avatar

    --
    05 Mar 2012 12:04 AM
    Hi,

    Try this (Will run at ALL of your AD):


    Get-QADUser -SizeLimit 0 | Set-QADObjectSecurity -LockInheritance ## For Un-Checked
    Get-QADUser -SizeLimit 0 | Set-QADObjectSecurity -UnlockInheritance ## For Checked

    For testing you can run this on one user:

    Get-QADUser User1 | Set-QADObjectSecurity -LockInheritance ## For Un-Checked
    Get-QADUser User1 | Set-QADObjectSecurity -UnlockInheritance ## For Checked



    !!!PLEASE VERIFY AND TRY IT FIRST AT YOUR NONE PRODUCTION ENVIRONMENT!!!


    good luck.
    Laurent BERARDUser is Offline
    New Member
    New Member
    Posts:2
    Avatar

    --
    06 Mar 2012 01:58 AM
    Thank you for your help,

    It works fine !

    best regards
    Laurent BERARD
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer