【发布时间】:2016-02-22 19:26:06
【问题描述】:
我无法在 Azure Runbook 中运行“Get-Azurermlog”。我收到错误消息“术语 'Get-Azurermlog' 未被识别为 cmdlet、函数、脚本文件或可运行程序的名称”。它是一个标准的 powershell cmdlet,可以在我的笔记本电脑 PS 控制台上正常工作。请指教。
workflow Write-SB
{
$Cred = Get-AutomationPSCredential -Name ‘Cre’
Add-AzureAccount -Credential $Cred
Select-AzureSubscription -SubscriptionName “My subscription”
InlineScript
{
Get-Azurermlog }
}
【问题讨论】:
标签: powershell azure