Manage-AzureRMBlueprint

2.3

To learn how to use this script, please watch this video: https://aka.ms/ManageARMBlueprints/Video

This script takes a SubscriptionID, ManagementGroupID, BlueprintName, Mode switch, and an optional
NewBluePrintName as a parameter.  This script is meant to provide the ability to export an Azure
ARM Blueprint for backup or import into an other Management Group.  You
To learn how to use this script, please watch this video: https://aka.ms/ManageARMBlueprints/Video

This script takes a SubscriptionID, ManagementGroupID, BlueprintName, Mode switch, and an optional
NewBluePrintName as a parameter.  This script is meant to provide the ability to export an Azure
ARM Blueprint for backup or import into an other Management Group.  You can also report on what artifacts are configured
for a specific blueprint using the report mode.

Use of "-Force" provides the ability to launch this script without prompting, if all required parameters are provided.

NOTE: This version currently only supports exporting a latest full published version or current draft of a blueprint and
related artifacts.

ADDITIONAL NOTE: This script currently also does not export custom policies.

Show more

Installation Options

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

Install-Script -Name Manage-AzureRMBlueprint

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

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

Owners

Copyright

Microsoft

Package Details

Author(s)

  • jbritt@microsoft.com

Functions

Add-IndexNumberToArray StandardError build-PutContent

Dependencies

This script has no dependencies.

Release Notes

May 23, 2019 - version 2.3
* Added BlueprintTarget to the parameters to allow for supporting subscription for Blueprint Location on
import and export. Thank you https://github.com/mrptsai (Paul Towler) for your inputs to add this option!
* Added new API version https://github.com/JimGBritt/AzureBlueprint/commit/c3304315745676912e7a958e40fa91b5da0d005e (thank you https://github.com/drmiru Michael Rueefli!)
* Added enhanced error output https://github.com/JimGBritt/AzureBlueprint/commit/94658c99a7b8207937492bb5a71285a094b6c11e#diff-e7e495ba10b61589a1c555132692367f (thank you https://github.com/Oechiih Jan Oehen!)
* Updated -ModuleMode to be Az by default (time to move on :)).
* Added option to bypass subscription requirement and provide TenantID (https://github.com/JimGBritt/AzureBlueprint/issues/2)
Thank you https://github.com/GPugnet (Guillaume Pugnet) your your feedback on bypassing the SubId requirement

FileList

Version History

Version Downloads Last updated
2.3 (current version) 10,092 5/23/2019