标签:更改ad回收站默认天数
需要更改两个值,分别是tombstoneLifetime和msDS-DeletedObjectLifetime
Set-ADObject -Identity “CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=contoso,DC=com” –Partition “CN=Configuration,DC=contoso,DC=com” –Replace:@{“tombstoneLifetime” = 365}
Set-ADObject -Identity “CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=contoso,DC=com” –Partition “CN=Configuration,DC=contoso,DC=com” –Replace:@{“msDS-DeletedObjectLifetime” = 365}
可以通过adsiedit.msc查看
本文出自 “追梦赤子心” 博客,请务必保留此出处http://zmczx.blog.51cto.com/7689019/1946166
标签:更改ad回收站默认天数
原文地址:http://zmczx.blog.51cto.com/7689019/1946166