在PowerShell ISE中编写/调试Azure自动化Runbook

4
我正在尝试使用PowerShell ISE编写Microsoft Azure Automation的Runbook(PowerShell Workflow)。有一些命令在PowerShell ISE中不可用,只能在Azure Automation环境中使用。
以下是这些命令:
Get-AutomationVariable Get-AutomationConnection
Get-AutomationPSCredential
Get-AutomationCertificate Set-AutomationVariable
有一个博客文章(我仍然找不到任何参考文档),介绍如何使用可从TechNet Gallery下载的Emulated Automation Activities PowerShell模块来伪造(模拟)独占的Azure Automation命令。但是,此文章要求您安装包含在Microsoft System Center 2012 R2 Orchestrator中的Service Management Automation(SMA)组件。

由于我正在尝试为Azure Automation开发Runbook,所以我没有安装SMA的必要。如何在PowerShell ISE中编写/调试Azure Automation Runbook而不必在本地安装SMA?

1个回答

1

2
你已经发布了指南吗? - elif
仍在努力中。如果你能以某种方式将你的电子邮件地址发送给我,我可以提供一份草稿版本供你开始使用/提供反馈。 - Joe
我已经发送了一封邮件到您的校友账户。谢谢。 - elif

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接