New-SelfSignedCertificate won't work on Windows 7
New-SelfSignedCertificate cannot be run on Windows 7 Professional. I could be using Windows 10 system.
Yes, the shell was started using "Run as administrator".
PS C:\> new-selfsignedcertificate
new-selfsignedcertificate : The term 'new-selfsignedcertificate' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1
+ new-selfsignedcertificate
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (new-selfsignedcertificate:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 0 10586 117
+6
source to share
2 answers
As pointed out in the comments above, this is not possible on Windows 7.
However, if you are looking for something with similar API and capabilities, then I have used and can recommend this from the Microsoft Script Center:
https://gallery.technet.microsoft.com/scriptcenter/self-signed-certificate-5920a7c6
+5
source to share