Published 10 March 2016
Imports a Release Artifact, exported to disk by Export-DlmDatabaseRelease, from a folder or .zip file.
The Import-DlmDatabaseRelease cmdlet re-imports the release artifact that has been exported to a folder or .zip file by the Export-DlmDatabaseRelease cmdlet.
The IReleaseArtifact object produced can then be used by the Use-DlmDatabaseRelease cmdlet to deploy the update.
The path to the folder or .zip file you want to import.
|Accept Pipeline Input||false|
|Accept Wildcard Characters||false|
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.
The input type is the type of the objects that you can pipe to the cmdlet.
You cannot pipe input to this cmdlet.
The output type is the type of the objects that the cmdlet emits.
---------- EXAMPLE 1 ----------
This example shows how to import a folder to create the database deployment resources.
The Import-DlmDatabaseRelease cmdlet imports the folder C:\Work\DatabaseRelease\, creating the database deployment resources. This folder was created by exporting to C:\Work\DatabaseRelease\ using the Export-DlmDatabaseRelease cmdlet.
Using Export-DlmDatabaseRelease and Import-DlmDatabaseRelease like this allows you to review the update script before you deploy with DLM Automation.
---------- EXAMPLE 2 ----------
This example shows how to import a .zip file to create the database deployment resources.
The Import-DlmDatabaseRelease cmdlet imports the .zip file C:\Work\DatabaseRelease.zip, creating the database deployment resources.