Get-UpdatePackageDiff
Performs a diff operation between the Source and taget path akin to Sitecore Courier. The diff is the difference that takes the content of Source folder and transforms it to Target. IMPORTANT! This functionality requires changes to web.config file on your sitecore server to work. Please consult the first Example.
Syntax
Get-UpdatePackageDiff [-SourcePath] <String> [[-TargetPath] <String>]
Detailed Description
Performs a diff operation between the Source and taget path akin to Sitecore Courier. The diff is the difference that takes the content of Source folder and transforms it to Target. IMPORTANT! This functionality requires changes to web.config file on your sitecore server to work. Please consult the first Example.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-SourcePath <String>
Path containing the current serialization items that needs to be transformed into Target.
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-TargetPath <String>
Path containing the desired serialization state that the Source needs to be transformed to.
Required?
false
Position?
1
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Outputs
The output type is the type of the objects that the cmdlet emits.
Sitecore.Update.Interfaces.ICommand
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE 1
Required addition to web.config file for the functionality to work:
EXAMPLE 2
Create an update package that transforms the serialized database state defined in C:\temp\SerializationSource into into set defined in C:\temp\SerializationTarget
Related Topics
Last updated