简体   繁体   English

Windows 2008 服务器 Powershell Active Directory -> 获取用户创建日期

[英]Windows 2008 server Powershell Active Directory -> Get user creation date

i just need a list of all AD users and their creation date.我只需要所有 AD 用户及其创建日期的列表。 Something like this:像这样的东西:

Julian Ross: 2020-02-01 Mark Lenders: 2019-03-03 Oliver Hutton: 2018-03-01朱利安罗斯:2020-02-01 马克贷款人:2019-03-03 奥利弗赫顿:2018-03-01

Ordered by creation date descending.按创建日期降序排列。

Is it possible?可能吗? Thank you!谢谢!

Try this:尝试这个:

Get-ADUser -Filter * -properties * | Sort-Object whenCreated -Descending | ForEach {
  "$($_.samAccountName): $($_.whenCreated)"
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 活动目录-Windows Server 2008 R2中的ldap属性createTimeStamp - Active directory - ldap attribute createTimeStamp in Windows Server 2008 R2 Powershell - 为特定用户设置桌面背景(Windows 7和/或2008 Server) - Powershell - set desktop background for specific user (Windows 7 and/or 2008 Server) 适用于 Windows Active Directory 2008 的自动化 Adduser - Automatise Adduser for Windows Active Directory 2008 是否应该在 Windows 7 机器上安装用于 powershell 的活动目录模块来导入它,还是可以从 Windows 2008 R2 DC 远程导入? - Should active directory module for powershell installed on a windows 7 machine to import it or can it be remotely imported from a Windows 2008 R2 DC? 如何从Active Directory获取用户密码的到期日期? - How to get user password expiration date from Active Directory? Windows / Active Directory - 用户/组 - Windows / Active Directory - User / Groups Windows Server 2008上的权限和SVN更新:相同的文件夹和SVN帐户,不同的Active Directory用户 - Permissions and SVN Updates on Windows Server 2008: same folder & SVN account, different Active Directory users 在服务器外部运行用户创建VBS的Active Directory不授予组成员身份 - Active Directory running user creation VBS outside of server doesnt grant groupmembership 使用Powershell更新Active Directory中的Active Directory用户属性 - Updating Active Directory user properties in Active Directory using Powershell Powershell 检查用户是否是本地用户,并且在本地 windows 机器上具有用户名和密码的管理员权限(非活动目录) - Powershell check if user is local-user and have admin rights from username and password on local windows machine (Not active directory)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM