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
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,962 questions
Sign in to answer