When I run the following script line on my Windows 7 32bit (PS version 3.0) I get an empty EnhancedKeyUsageList (I see only empty curly brackets {}).
On a Windows 10 machine with PS 5.x I get the right result.
What am I doing wrong?
Get-ChildItem -Path Cert:\LocalMachine\My | Format-List -Property *
A certificate with EnhancedKeyUsage set to ALL
will have this as empty if queried . Open the certificate store via MMC and check the same for the certificate you are getting EKU as null.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.