Let us say I have a powershell script that creates a certificate request with New-ExchangeCertificate, as in the example:
$Data = New-ExchangeCertificate -GenerateRequest -SubjectName "c=US, o=Woodgrove Bank, cn=mail1.woodgrovebank.com" -DomainName woodgrovebank.com, example.com -PrivateKeyExportable $true
So now I have some form of certificate $Data, and Exchange has just created a new certificate in cert:\LocalMachine\REQUEST
How can I get the thumbnail of this new cert-request within my powershell script?
$freshThumbnail=$Data.Thumbnail
Does not work, because $Data is not the correct type of object.