[英]Active directory - ldap attribute createTimeStamp in Windows Server 2008 R2
[英]Windows 2008 server Powershell Active Directory -> Get user creation date
我只需要所有 AD 用戶及其創建日期的列表。 像這樣的東西:
朱利安羅斯:2020-02-01 馬克貸款人:2019-03-03 奧利弗赫頓:2018-03-01
按創建日期降序排列。
可能嗎? 謝謝!
嘗試這個:
Get-ADUser -Filter * -properties * | Sort-Object whenCreated -Descending | ForEach {
"$($_.samAccountName): $($_.whenCreated)"
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.