Manage-AzureRMBlueprint
2.0
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
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.
Installation Options
Owners
Copyright
Microsoft
Package Details
Author(s)
- jbritt@microsoft.com
Functions
Add-IndexNumberToArray StandardError build-PutContent
Dependencies
This script has no dependencies.
Release Notes
November 20, 2018 - version 2.0
* Added function for standard error
* Added function for building REST PUT payload
* Updated error to indicate clear-AzureRMContext (to replace Logout-AzureRMAccount) to resolve 401
Thanks https://twitter.com/JFE_CH (Jonas Feller) for the recommendation at this site:
https://www.jfe.cloud/export-import-azure-blueprints/
* Removed "ID" and "Name" fields from the export
* Building "Name" and "ID" for imports dynamically based on folder and file name for blueprint and artifacts
* Added proper order handling for import of blueprint first, then all artifacts
* Added APIVersion variable
* Thanks Alexander Frankel[MSFT] for your thoughts and feedback here across this release!
FileList
- Manage-AzureRMBlueprint.nuspec
- Manage-AzureRMBlueprint.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
2.3 | 10,071 | 5/23/2019 |