Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Copy Certificate from Contact to User

$
0
0

Hey Guys,

i've been struggeling to find a solution for a few days but nothing yet! maybe someone can help me figure this one out :)i have a user and a contact in an AD, both are the same person.

the contact has his certificate in the userCertificate Attribute and the User has no Certificates.

i'm trying to copy this certificate from the contact to the user in powershell and its not working.

the usercertificate is of the type System.Collections.CollectionBase                                  

the Certificate needs a hashtable and no idea how to turn this into that

thanks!


Hitch Bardawil


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>