Hello haus I need a query to list out all user in active directory, date created, last logon time, ou membership, active/disabled users.
Also would like a computer object query with similar parameter as listed above. What would be the recommended practice to implement ad cleanup and justification? Thanks team, appreciate the effort. On 6 May 2013 20:29, "Marcum, John" <[email protected]> wrote: > I need to list out every user in AD, when the account was created, the > last logon time and what groups the user is in. This command lists > âMicrosoft.ActiveDirectory.Management.ADPropertyValueCollectionâ under > MemberOf instead of listing out the groups that the user is in. Why? How do > I fix this? > > > > Get-aduser -filter * -searchbase "DC=MYDOMAIN,DC=com" -properties * | > select-object -property > SamAccountName,DisplayName,Created,LastLogonDate,MemberOf | export-csv > filedump.csv -notypeinformation > > > > > > > > > > > > > > > * > ------------------------------ > * > > *John Marcum* > *Sr. Desktop Architect* > > *Bradley Arant Boult Cummings LLP* > ------------------------------ > > > > ------------------------------ > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you have > received this message in error, please notify the sender by replying to > this e-mail and then delete it from your computer. > > ===================== > Is managing company email taking up way too much time? > Let users manage archived email through Outlook and drastically > reduce email storage requirements. > > Download trial at http://www.gfi.com/mailarchiver/?adv=930&loc=1 ===================== Is managing company email taking up way too much time? Let users manage archived email through Outlook and drastically reduce email storage requirements. Download trial at http://www.gfi.com/mailarchiver/?adv=930&loc=1
