How to fetch AD properties of user account using Powershell?

This article helps to read the properties of the AD account such as UPN, SAMAccountName,LockedOut status and mainly used to compare the properties of working account and non working account.
  • Get-ADUser -Identity "Mike" -Properties * /Check all properties
    Mike is the AD user name
    Get-ADUser -Identity "Mike" -Properties lockedout /check dedicated properties