Hello, I have a .cer file and want to map it to a user account in AD using PowerShell. I tried with this command :
Set-ADUser TestUser1 -Certificates @{Replace=$cert1,$cert2}
But does not put the certificate in the mappings, it puts it in the Public Certificates
Thanks for any help.