Export-UpdatePackage

Last updated last month

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-2017 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

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

Related Topics