I need to retrieve the values in the cfCardNumber attribute with PowerShell
John Denney
0
Reputation points
I have users in a specific OU in Active Directory and need to retrieve the values in the cfCardNumber attribute which is in the Attribute Editor. I have tried for an individual;
Get-ADuser -Identity "joe.bloggs" -Properties * | Select-Object Name,cfCardnumber
cfCardNumber is blank
and
Get-ADUser -Identity "joe.bloggs" -Properties * | Format-List
cfCardNumber does not even appear
How do I get this value?
Thank you
Windows for business | Windows Server | User experience | PowerShell
8,330 questions
Sign in to answer