繁体   English   中英

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

[英]Write/Debug Azure Automation Runbook in PowerShell ISE

我正在尝试使用PowerShell ISE为Microsoft Azure Automation编写Runbook(PowerShell工作流)。 PowerShell ISE中缺少某些命令,这些命令仅在Azure自动化环境中可用。

  • GET-AutomationVariable
  • GET-AutomationConnection
  • GET-AutomationPSCredential
  • GET-AutomationCertificate
  • SET-AutomationVariable

有关如何使用可从TechNet库下载的仿真自动化活动 PowerShell模块伪造(模拟)独有Azure自动化命令的博客文章 (我仍然找不到任何参考文档 )。 但是,本文要求您安装Microsoft System Center 2012 R2 Orchestrator附带的Service Management Automation(SMA)组件。

由于我正在尝试开发Runbook for Azure Automation,因此我无需安装SMA。 如何从PowerShell ISE编写/调试Azure自动化Runbook而无需在本地安装SMA?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM