Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用powershell中的PKI模块_Powershell_Azure_Pki_Azure Powershell - Fatal编程技术网

使用powershell中的PKI模块

使用powershell中的PKI模块,powershell,azure,pki,azure-powershell,Powershell,Azure,Pki,Azure Powershell,我想使用powershell创建一个自签名证书,如https://azure.microsoft.com/en-in/documentation/articles/cloud-services-certs-create/ 命令New SelfSignedCertificate引发错误- New SelfSignedCertificate:术语“New SelfSignedCertificate”不被识别为cmdlet、函数、, 脚本文件或可操作程序 因此,我安装了PackageManager P

我想使用powershell创建一个自签名证书,如
https://azure.microsoft.com/en-in/documentation/articles/cloud-services-certs-create/

命令New SelfSignedCertificate引发错误- New SelfSignedCertificate:术语“New SelfSignedCertificate”不被识别为cmdlet、函数、, 脚本文件或可操作程序

因此,我安装了PackageManager PowerShell模块预览版-2016年3月

之后,当我运行Find Module PKI时,它会给我一个错误-PackageManagement\Find Package:找不到与指定搜索条件和模块名称“PKI”匹配的内容


我使用Win7作为操作系统。

PKI模块作为Windows操作系统的一部分提供-但直到Windows 8或新版本,
$PSVersionTable
@Burt_Harris Powershell 3的输出是什么?我看到了PSPKI,但无法将文章中的代码转换为相同的
PKI
模块作为Windows操作系统的一部分提供系统-但直到Windows 8或新版本,
$PSVersionTable
@Burt_Harris Powershell 3I的输出是什么?我看到了PSPKI,但无法将文章中的代码转换为相同的版本