相关疑难解决方法(0)

New-SelfSignedCertificate将无法在Windows 7上运行

在Windows 7 Professional系统上,似乎无法运行New-SelfSignedCertificate.我可以在Windows 10系统上.

是的,shell是以"以管理员身份运行"启动的.

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 …
Run Code Online (Sandbox Code Playgroud)

powershell

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

powershell ×1