2017/11/15

Active Directory Recycle Bin and Recovery


來源:
http://msexchangeteam.in/how-to-enable-active-directory-recycle-bin-in-windows-server-2012-2/
http://msexchangeteam.in/how-to-restore-deleted-active-directory-user-object-in-windows-server-2012-domains-2/

enable Recycle bin
Figure 1.1 : Start – Select Active Directory Administrative Center.

Figure 1.2 : Option to select.
In figure 1.2 select Local Domain and in the Tasks Pane select Enable Recycle Bin as shown above.


Recovery


or PowerShell script
Example 2 Get-ADObject -Filter  {samaccountname -eq 「amit」}  -IncluderDeletedObjects | Restore-ADObject

JPA+complex key+custom Query

  來源: https://www.cnblogs.com/520playboy/p/6512592.html   整個來說,就是有複合主鍵 然後要使用  public interface XxXXxx DAO extends CrudRepository<Tc...