4
votes

I am trying to write a Runbook (PowerShell Workflow) for Microsoft Azure Automation using the PowerShell ISE. There are certain commands that are not available in the PowerShell ISE, that are exclusively available inside of the Azure Automation environment.

  • Get-AutomationVariable
  • Get-AutomationConnection
  • Get-AutomationPSCredential
  • Get-AutomationCertificate
  • Set-AutomationVariable

There is a blog post (I still can't find any reference documentation) on how to fake (emulate) the exclusive Azure Automation commands using the Emulated Automation Activities PowerShell module, available for download from the TechNet Gallery. However, this article requires that you install the Service Management Automation (SMA) component that is included with Microsoft System Center 2012 R2 Orchestrator.

Since I am trying to develop a Runbook for Azure Automation, I do not have any need to install SMA. How do I write/debug an Azure Automation Runbook from PowerShell ISE without having to install SMA locally?

1

1 Answers