I ran the below cmdlet with the intent to get all the properties of the AD user.
Get-ADUser -Identity targetuser -Properties *
But I'm only getting fewer properties, not all of them (refer screenshot).
I'm assuming that the remaining properties are present within the 'PropertyNames' field (highlighted in red). When I tried to expand it using the '-ExpandProperty' option, it only gave me the names of those nested properties but not their values.
Please advise how to proceed. My objective is to get all the properties and their values.