获取错误:" PackageManagement \ Register-PackageSource:属性'名称'在这个物体上找不到。"

时间:2017-12-13 19:05:13

标签: powershell powershell-module

将PowerShell脚本作为

运行
var s = "data23:[0,2,12,20,9]";
console.log(s.replace(/\[([\d,]+)]/g, function($0,$1) {
  return "[" + $1.replace(/(^|\D)\d(?!\d)/g, "$1NO") + "]";
}));

我收到错误:

Register-PSRepository -Name XYZ -SourceLocation https://urlname/api/v3

为什么我会遇到这个问题?

0 个答案:

没有答案