azure - 术语“Connect-PartnerCenter”未被识别为 cmdlet、函数、脚本的名称
问题描述
我想使用 power shell 登录微软合作伙伴中心..所以我安装了相关模块:-
PS C:\WINDOWS\system32> Install-Module -Name PartnerCenter -AllowClobber -Scope AllUsers
但是当我尝试连接到合作伙伴中心时,我收到了这个错误:-
PS C:\WINDOWS\system32> Connect-PartnerCenter
Connect-PartnerCenter : The term 'Connect-PartnerCenter' 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
+ Connect-PartnerCenter
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-PartnerCenter:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
解决方案
我想纯粹的要求只有这两个:
在 Windows 上的 PowerShell 5.1 中运行合作伙伴中心 PowerShell:
如果需要,更新到 Windows PowerShell 5.1。如果您使用的是 Windows 10,则您已经安装了 PowerShell 5.1。安装 .NET Framework 4.7.2 或更高版本。
我在新的 win10 机器(azure vm)上完成了它,工作正常。
推荐阅读
- javascript - 将 h-captcha 令牌发送到网站,按下提交按钮。硒蟒
- c++ - 对象,向量的c ++排序问题
- javascript - Jquery .css() 不起作用(可能是由其他原因引起的)
- google-custom-search - 如何在 Google 可编程站点搜索中删除某些 URL 模式
- javascript - 如何使用 react-redux 实现 addItem
- wso2 - 是否可以在 WSO2IS 中更改用户名正则表达式验证
- javascript - 在 localStorage 中添加了额外的项目?
- php - 将帖子缩略图 timage 附加到第一个内容标题标签
- laravel - 我需要的是显示所有用户的复选框,无论他们是否有 laravel 8 的特色帖子
- css - 如何使粘性元素可滚动?