【问题标题】:Invoke-ASCmd : The term 'Invoke-ASCmd' is not recognized as the name of a cmdlet, function, script file, or operableInvoke-ASCmd:术语“Invoke-ASCmd”未被识别为 cmdlet、函数、脚本文件或可操作的名称
【发布时间】:2017-02-17 21:08:55
【问题描述】:

在 ps1 文件中运行时遇到以下问题:

Invoke-ASCmd:术语“Invoke-ASCmd”未被识别为 cmdlet、函数、脚本文件或可操作的名称

但是如果在 powershell 中运行 Invoke-ASCmd,它可以工作。这么奇怪。 有人可以帮忙吗?

【问题讨论】:

  • help about_Command_Precedence

标签: powershell deployment ssas


【解决方案1】:

安装模块 -AllowClobber -Name SqlServer

【讨论】:

  • 在我克服了-proxy-proxycredentails 开关的代理问题并设法安装了这个(通过Get-InstalledModule 验证)后,我仍然遇到同样的错误
猜你喜欢
  • 1970-01-01
  • 2018-07-15
  • 2014-03-30
  • 1970-01-01
  • 2022-09-27
  • 2016-10-15
  • 2021-12-23
  • 2015-12-10
  • 1970-01-01
相关资源
最近更新 更多