InstallAzModule

1.4

This Azure Automation runbook installs the Az modules selected into an
Azure Automation account with the module versions published to the PowerShell Gallery.
Prerequisite: an Azure Automation account with an Azure Run As account credential.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name InstallAzModule -RequiredVersion 1.4

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Ted Sdoukos

Owners

Tags

AzureAutomation Runbook

Functions

Get-AzModuleInfo Get-AzModuleDependancy Install-AzModuleDependancy Install-AzAutomationModule Connect-AzureAutomation

Dependencies

This script has no dependencies.

Release Notes

v1.4 changelog:
*Fixed bug when installing single Az module
*General performance improvements
*Changed AzModule from array to string
*Simplified RegEx in Get-AzModuleDependancy
*Added verbose logging for testing
*Removed $PsGalleryApiUrl as parameter and moved it to main script

Version History

Version Downloads Last updated
1.6 46 4/19/2021
1.4 (current version) 17 4/16/2021
1.3 22 3/25/2021
1.2 22 3/24/2021
1.1 16 3/24/2021
1.0 19 3/24/2021