# user\_enumeration

USER ENUMERATION Get a list of users in the current domain

Get-NetUser (Powerview) Get-NetUser -Username student (Powerview)

Get-ADUser -Filter _-Properties_ (Active Directory) Get-ADUser -Identity student -properties \* (Active Directory)

Get list of all properties for users in the current Domain

Get-UserProperty (Powerview) Get-UserProperty -Properties pwdlastset (Powerview)

Get-ADUser -Filter _-Properties_ | select -First 1 | Get-Member -Membertype _Property | select Name (Active Directory) Get-ADUser -Filter_ -Properties \* | select name,@{expression={\[datetime]::fromFileTime($\_.pwdlastset)\}} (Active Directory)
