Skip to content

daoradmin/Az.RuntimeEnvironment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Azure Runtime Environment PowerShell Module

Overview

This PowerShell module provides cmdlets to manage Azure Automation Account Runtime Environments, enabling users to automate the management tasks conveniently. With this module, you can perform various operations such as creating, retrieving, updating, and removing Runtime Environments within your Azure environment.

Commands

🔎 Get-RuntimeEnvironment

  • Brief Description: Retrieves details of a specific Azure Automation Account Runtime Environment.
  • Detailed Description: This command allows users to fetch information about a particular Runtime Environment within an Azure Automation Account. Users can use this command to get details such as name, status, version, and other relevant metadata associated with the specified Runtime Environment.

📁 Get-RuntimeEnvironments

  • Brief Description: Retrieves a list of all Azure Automation Account Runtime Environments.
  • Detailed Description: This command provides users with a comprehensive list of all Runtime Environments available within the specified Azure Automation Account. It returns essential information about each Runtime Environment, enabling users to view and manage multiple environments efficiently.

🚀 New-RuntimeEnvironment

  • Brief Description: Creates a new Azure Automation Account Runtime Environment.
  • Detailed Description: With this command, users can instantiate a new Runtime Environment within their Azure Automation Account. Users can specify parameters such as name, version, and other configuration settings to tailor the new environment according to their requirements.

❌ Remove-RuntimeEnvironment

  • Brief Description: Deletes a specified Azure Automation Account Runtime Environment.
  • Detailed Description: This command enables users to remove an existing Runtime Environment from their Azure Automation Account. Users need to provide the name or ID of the Runtime Environment they wish to delete, and the command takes care of the deletion process, including any associated resources.

📦 Set-RuntimeEnvironmentPackage

  • Brief Description: Updates the package associated with a specific Azure Automation Account Runtime Environment.
  • Detailed Description: This command facilitates the update of the package associated with a particular Runtime Environment within an Azure Automation Account. Users can upload a new package, specify versioning information, and configure other relevant settings to ensure smooth operation of the Runtime Environment with the updated package.

Example Usages

  • Get-RuntimeEnvironment:
    Get-RuntimeEnvironment -SubscriptionId "XXX" -ResourceGroupName "RG-Test" -AutomationAccountName "AA-Test" -RuntimeEnvironmentName "Custom-PS"
  • Get-RuntimeEnvironments:
    Get-RuntimeEnvironments -SubscriptionId "XXX" -ResourceGroupName "RG-Test" -AutomationAccountName "AA-Test"
  • New-RuntimeEnvironment:
    New-RuntimeEnvironment -SubscriptionId "XXX" -ResourceGroupName "RG-Test" -AutomationAccountName "AA-Test" -RuntimeEnvironmentName "Custom-PS" -Location "westeurope" -Language Powershell -Version 7.2
  • Remove-RuntimeEnvironment:
    Remove-RuntimeEnvironment -SubscriptionId "XXX" -ResourceGroupName "RG-Test" -AutomationAccountName "AA-Test" -RuntimeEnvironmentName "Custom-PS"
  • Set-RuntimeEnvironmentPackage:
    Set-RuntimeEnvironmentPackage -SubscriptionId "XXX" -ResourceGroupName "RG-Test" -AutomationAccountName "AA-Test" -RuntimeEnvironmentName "Custom-PS" -PackageName "CustomPSModule" -ContentLink "XXX"