Home
List of the AD attributes for a User account
Published: Tuesday, 24 September 2019 | Categories: Powershell | Keywords: AD | Status: Posted | Created: Tuesday, 24 September 2019 | Author: paul

List of the AD attributes for a User account:

$user = Get-ADUser -identity username -Properties *
$allProperties =  $user | %{ $_.psobject.properties | select Name } | select -expand Name -Unique | sort
$user | select $allProperties

 


Add Comment
No Comments.