Enabling Active Directory Recycle Bin

Vereiste is 2008 R2 domain en forest level, dit is reeds het geval bij AP.

Functie activeren middels PowerShell run as admin op SP001:
Enable-ADOptionalFeature –Identity ‘CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration, DC=ap,DC=global’ –Scope ForestOrConfigurationSet –Target ‘ap.global’

Overzicht naar voren halen welek accounts zijn verwijderd:
Get-ADObject -SearchBase “CN=Deleted Objects,DC=ap,DC=global” -ldapFilter “(objectClass=*)” -includeDeletedObjects | FT ObjectGUID,Name -A

AD account restoren:
Restore-ADObject -Identity 5673d4ed-d497-4614-9419-1485ded2fed3

Source:
http://technet.microsoft….379481(WS.10).aspx#BKMK_5
http://blogs.techrepublic.com.com/datacenter/?p=675

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


*