Hi,
When using the import-certificate command it is not importing the "properties only" fields. If I import the same exact .cer file using the mmc certificate snap-in it does import those values/fields.
Is this a known issue or is there something additional I need to do to import the fields highlighted in green below?
Here's a snip of the powershell code I'm using:
$DestFilePath="C:\certname.cer"
$certStore = "Cert:\LocalMachine\Root"
Import-Certificate -FilePath $DestFilePath -CertStoreLocation $certStore
A) On one server I used the MMC snap-in to import the certificate into the Root store and it worked fine.

B) On a 2nd server I used the PS script above, and it imported, but did not include any of the "properties only" fields (Friendly name, Enhanced Key Usage, Extended Validation)

When using the import-certificate command it is not importing the "properties only" fields. If I import the same exact .cer file using the mmc certificate snap-in it does import those values/fields.
Is this a known issue or is there something additional I need to do to import the fields highlighted in green below?
Here's a snip of the powershell code I'm using:
$DestFilePath="C:\certname.cer"
$certStore = "Cert:\LocalMachine\Root"
Import-Certificate -FilePath $DestFilePath -CertStoreLocation $certStore
A) On one server I used the MMC snap-in to import the certificate into the Root store and it worked fine.

B) On a 2nd server I used the PS script above, and it imported, but did not include any of the "properties only" fields (Friendly name, Enhanced Key Usage, Extended Validation)
