# Export-UpdatePackage

Exports a Sitecore update package containing a serialization diff list.

## Syntax

Export-UpdatePackage \[-CommandList] \<List\`1> \[\[-Name] \<String>] \[\[-Path] \<String>] \[-Readme \<String>] \[-LicenseFileName \<String>] \[-Tag \<String>]

## Detailed Description

The Export-UpdatePackage command generates a Sitecore update package containing a serialization diff list.

© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

## Parameters

### -CommandList \<List\`1>

List of changes to be included in the package.

| Aliases                     |                |
| --------------------------- | -------------- |
| Required?                   | true           |
| Position?                   | 1              |
| Default Value               |                |
| Accept Pipeline Input?      | true (ByValue) |
| Accept Wildcard Characters? | false          |

### -Name \<String>

Name of the package.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | 2     |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Path \<String>

Path the update package should be saved under.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | 3     |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Readme \<String>

Contents of the "read me" instruction for the package

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -LicenseFileName \<String>

file name of the license to be included with the package.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Tag \<String>

Package tag.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

## Notes

Help Author: Adam Najmanowicz, Michael West

## Examples

### EXAMPLE

Create an update package that transforms the serialized database state defined in C:\temp\SerializationSource into into set defined in C:\temp\SerializationTarget

```powershell
$diff = Get-UpdatePackageDiff -SourcePath C:\temp\SerializationSource -TargetPath C:\temp\SerializationTarget
Export-UpdatePackage -Path C:\temp\SerializationDiff.update -CommandList $diff -Name name
```

## Related Topics

* [Get-UpdatePackageDiff](/appendix/packaging/get-updatepackagediff.md)
* [Install-UpdatePackage](/appendix/packaging/install-updatepackage.md)
* <https://sitecoresnippets.blogspot.com/2012/10/sitecore-courier-effortless-packaging.html>
* <https://github.com/adoprog/Sitecore-Courier>
* <https://github.com/SitecorePowerShell/Console/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sitecorepowershell.com/appendix/packaging/export-updatepackage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
