Powershell AzureML Get-AmlWorkspace

Powershell AzureML Get-AmlWorkspace

Get-AmlWorkspace : One or more errors occurred.
At line:1 char:1
+ Get-AmlWorkspace
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Get-AmlWorkspace], 
AggregateException
+ FullyQualifiedErrorId : 
System.AggregateException,AzureML.PowerShell.GetWorkspace

我正在尝试使用 Powershell 连接到 Azure ML studio,因为它看起来是一种更简单的工作区管理方式。我已经从 https://github.com/hning86/azuremlps 下载了 dll 文件并更改了我的 config.json 文件,但如果我尝试 运行 任何 AzureML 命令,则会出现上述错误。我已经解锁了 DLL 文件并导入了 AzureMLPS 模块,我可以看到我尝试使用的模块和命令已通过 Get-ModuleGet-Command

导入

关于信息,我以前没有使用过 Powershell。

非常感谢任何建议!

您是否在本地计算机上安装了 Azure PowerShell 安装程序? Click here了解更多信息。

下载最新的 Azure PowerShell 安装程序 (4.3.1),然后在您的本地计算机上安装。然后使用 Azure PowerShell 模块和命令重试。

我去年五月安装了我的,使用 Azure PowerShell 4.0.1,命令 Get-AmlWorkspace 正在运行。

# Set local folder location
Set-Location -Path "C:\Insert here the location of AzureMLPS.dll"

# Unblock and import Azure Powershell Module (leverages config.json file)
Unblock-File .\AzureMLPS.dll
Import-Module .\AzureMLPS.dll

# Get Azure ML Workspace info
Get-AmlWorkspace

我这边的输出是这样的: