I’m using Quest snapin to get users from active directory. This script displays date and time, when users were created. The format is ’07/16/2007 12:03:55′.
Get-QADUser -IncludeAllProperties -SerializeValues | Foreach-Object {$_.createTimeStamp}
How to display users that were created before 01/06/2011 00:00:00 ? Thank you!
Thank you. I have one more question. How to separate service accounts from domain users? I recognize, that every domain user has mail parameter. Is it possible to include only domain users?
(Get-QADUser user -includeallproperties -serializevalues).mail
user@company.com
try:
If you want specify a date and time:
For the secon question try: