Compare items between two instancesCompare content across Sitecore DB's programaticallyComparing a Sitecore instance with a vanilla oneGet list of Sitecore items updated by Specific UserGetting locked items SPEHow to get list view of items plus their linked items in powershell-extensions?Compare item versions with Sitecore PowerShell ExtensionBulk create Media ItemsArchive Sitecore items using Sitecore PowerShell ExtentionCompare two branches of a Sitecore content treeSitecore Powershell skip items in System FolderRemove duplicate items from an array of items

Would it have been possible to re-fuel the planes in the air?

Should I sign a NDA that holds me liable for legal fees even if I am in the right?

Convert logical combinations from Reduce to a usable function

Creating 2020 in the fewest number of steps

How to be ready for The Rise of Skywalker?

Moving into check for a draw as black, why is it illegal? Comparison to Racing Kings

Overcrowded German trains

To whom does "Madam Speaker" refer during the Trump impeachment debate?

Can I use Thaumaturgy to hide the effect of Detect Magic?

Affection vs. Affliction

Implementation gap in logistics

Help identifying 8 pin connector

UFW OpenSSH application port change?

Is one spouse responsible if other failed to file taxes

What is the best way to teach JavaScript functions to middle schoolers?

Sort-of Alexa clone using Python on a raspberry pi

How to understand "No she bludgering well won't!"

Corridor seats on the TGV — why? Are seat reservations not always mandatory?

Is the number of federal judges appointed by Trump unusual?

Forgot item in a hotel in Spain; hotel says I have to send a courier myself because they don't handle international shipments

Reuse a part of a tikz picture with savebox

How would sword design change if the aim was to cause as much immediate bleeding as possible?

Left-right non-bimodule examples

How scammy are cashback sites?



Compare items between two instances


Compare content across Sitecore DB's programaticallyComparing a Sitecore instance with a vanilla oneGet list of Sitecore items updated by Specific UserGetting locked items SPEHow to get list view of items plus their linked items in powershell-extensions?Compare item versions with Sitecore PowerShell ExtensionBulk create Media ItemsArchive Sitecore items using Sitecore PowerShell ExtentionCompare two branches of a Sitecore content treeSitecore Powershell skip items in System FolderRemove duplicate items from an array of items






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









6


















We upgraded Sitecore 8.2 project to 9.1. Upgrade took around 1 month to finish and during this period, authors created/updated some items in old instance and they didn't make a note of those items.



So, now I want to compare both instances to find out items to migrate content from 8.2 to 9.1



Is there any way to find out what items got updated/created in old instance? Can this be done using Sitecore Powershell Remoting?










share|improve this question































    6


















    We upgraded Sitecore 8.2 project to 9.1. Upgrade took around 1 month to finish and during this period, authors created/updated some items in old instance and they didn't make a note of those items.



    So, now I want to compare both instances to find out items to migrate content from 8.2 to 9.1



    Is there any way to find out what items got updated/created in old instance? Can this be done using Sitecore Powershell Remoting?










    share|improve this question



























      6













      6









      6


      1






      We upgraded Sitecore 8.2 project to 9.1. Upgrade took around 1 month to finish and during this period, authors created/updated some items in old instance and they didn't make a note of those items.



      So, now I want to compare both instances to find out items to migrate content from 8.2 to 9.1



      Is there any way to find out what items got updated/created in old instance? Can this be done using Sitecore Powershell Remoting?










      share|improve this question














      We upgraded Sitecore 8.2 project to 9.1. Upgrade took around 1 month to finish and during this period, authors created/updated some items in old instance and they didn't make a note of those items.



      So, now I want to compare both instances to find out items to migrate content from 8.2 to 9.1



      Is there any way to find out what items got updated/created in old instance? Can this be done using Sitecore Powershell Remoting?







      powershell-extensions content-migration






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 2 at 16:36









      MathewMathew

      887 bronze badges




      887 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          6



















          There are a few options included with SPE out-of-the-box which could aid in accomplishing this task. The detail below is produced with SPE 6.0 but much of it was available in previous versions.



          Reports



          There is a Content Report called Items last updated which can be used to find any items in the tree (typically content) that has changed after a specified date.



          Example filtering criteria[1]



          Comparing Instances



          The following script provides a basic example at using SPE to compare the content between two instances beginning with the specified root item.



          Clear-Host
          $watch = [System.Diagnostics.Stopwatch]::StartNew()

          $Username = "admin"
          $Password = "b"
          $Source = "https://abc.dev.local"
          $Destination = "https://123.dev.local"

          $localSession = New-ScriptSession -user $Username -pass $Password -conn $Source
          $remoteSession = New-ScriptSession -user $Username -pass $Password -conn $Destination


          $rootId = "37D08F47-7113-4AD6-A5EB-0C0B04EF6D05"

          $sourceItemIds = Invoke-RemoteScript -Session $localSession -ScriptBlock "
          $itemIds
          -Raw

          $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock Select-Object -ExpandProperty ID) -join " -Raw

          $referenceIds = $sourceItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)
          $differenceIds = $destinationItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)

          $queueIds = Compare-Object -ReferenceObject $referenceIds -DifferenceObject $differenceIds |
          Where-Object $_.SideIndicator -eq "<=" | Select-Object -ExpandProperty InputObject

          $watch.Stop()
          $totalSeconds = $watch.ElapsedMilliseconds / 1000
          Write-Host "$($totalSeconds) seconds" -ForegroundColor Yellow





          share|improve this answer
































            5



















            Welcome to Sitecore stackexchange.



            RAZL RAZL - can be used to compare the items between two different Sitecore Instances. Please note this is a "paid" software.



            Another option is to use Sitecore Courier - This open source module can compare sitecore serialized files in two folders and create a diff (update) package containing the differences.



            There is also more information on this other post which you can refer - Comparing a Sitecore instance with a vanilla one






            share|improve this answer


























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "664"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );














              draft saved

              draft discarded
















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f22371%2fcompare-items-between-two-instances%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown


























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              6



















              There are a few options included with SPE out-of-the-box which could aid in accomplishing this task. The detail below is produced with SPE 6.0 but much of it was available in previous versions.



              Reports



              There is a Content Report called Items last updated which can be used to find any items in the tree (typically content) that has changed after a specified date.



              Example filtering criteria[1]



              Comparing Instances



              The following script provides a basic example at using SPE to compare the content between two instances beginning with the specified root item.



              Clear-Host
              $watch = [System.Diagnostics.Stopwatch]::StartNew()

              $Username = "admin"
              $Password = "b"
              $Source = "https://abc.dev.local"
              $Destination = "https://123.dev.local"

              $localSession = New-ScriptSession -user $Username -pass $Password -conn $Source
              $remoteSession = New-ScriptSession -user $Username -pass $Password -conn $Destination


              $rootId = "37D08F47-7113-4AD6-A5EB-0C0B04EF6D05"

              $sourceItemIds = Invoke-RemoteScript -Session $localSession -ScriptBlock "
              $itemIds
              -Raw

              $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock Select-Object -ExpandProperty ID) -join " -Raw

              $referenceIds = $sourceItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)
              $differenceIds = $destinationItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)

              $queueIds = Compare-Object -ReferenceObject $referenceIds -DifferenceObject $differenceIds |
              Where-Object $_.SideIndicator -eq "<=" | Select-Object -ExpandProperty InputObject

              $watch.Stop()
              $totalSeconds = $watch.ElapsedMilliseconds / 1000
              Write-Host "$($totalSeconds) seconds" -ForegroundColor Yellow





              share|improve this answer





























                6



















                There are a few options included with SPE out-of-the-box which could aid in accomplishing this task. The detail below is produced with SPE 6.0 but much of it was available in previous versions.



                Reports



                There is a Content Report called Items last updated which can be used to find any items in the tree (typically content) that has changed after a specified date.



                Example filtering criteria[1]



                Comparing Instances



                The following script provides a basic example at using SPE to compare the content between two instances beginning with the specified root item.



                Clear-Host
                $watch = [System.Diagnostics.Stopwatch]::StartNew()

                $Username = "admin"
                $Password = "b"
                $Source = "https://abc.dev.local"
                $Destination = "https://123.dev.local"

                $localSession = New-ScriptSession -user $Username -pass $Password -conn $Source
                $remoteSession = New-ScriptSession -user $Username -pass $Password -conn $Destination


                $rootId = "37D08F47-7113-4AD6-A5EB-0C0B04EF6D05"

                $sourceItemIds = Invoke-RemoteScript -Session $localSession -ScriptBlock "
                $itemIds
                -Raw

                $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock Select-Object -ExpandProperty ID) -join " -Raw

                $referenceIds = $sourceItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)
                $differenceIds = $destinationItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)

                $queueIds = Compare-Object -ReferenceObject $referenceIds -DifferenceObject $differenceIds |
                Where-Object $_.SideIndicator -eq "<=" | Select-Object -ExpandProperty InputObject

                $watch.Stop()
                $totalSeconds = $watch.ElapsedMilliseconds / 1000
                Write-Host "$($totalSeconds) seconds" -ForegroundColor Yellow





                share|improve this answer



























                  6















                  6











                  6









                  There are a few options included with SPE out-of-the-box which could aid in accomplishing this task. The detail below is produced with SPE 6.0 but much of it was available in previous versions.



                  Reports



                  There is a Content Report called Items last updated which can be used to find any items in the tree (typically content) that has changed after a specified date.



                  Example filtering criteria[1]



                  Comparing Instances



                  The following script provides a basic example at using SPE to compare the content between two instances beginning with the specified root item.



                  Clear-Host
                  $watch = [System.Diagnostics.Stopwatch]::StartNew()

                  $Username = "admin"
                  $Password = "b"
                  $Source = "https://abc.dev.local"
                  $Destination = "https://123.dev.local"

                  $localSession = New-ScriptSession -user $Username -pass $Password -conn $Source
                  $remoteSession = New-ScriptSession -user $Username -pass $Password -conn $Destination


                  $rootId = "37D08F47-7113-4AD6-A5EB-0C0B04EF6D05"

                  $sourceItemIds = Invoke-RemoteScript -Session $localSession -ScriptBlock "
                  $itemIds
                  -Raw

                  $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock Select-Object -ExpandProperty ID) -join " -Raw

                  $referenceIds = $sourceItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)
                  $differenceIds = $destinationItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)

                  $queueIds = Compare-Object -ReferenceObject $referenceIds -DifferenceObject $differenceIds |
                  Where-Object $_.SideIndicator -eq "<=" | Select-Object -ExpandProperty InputObject

                  $watch.Stop()
                  $totalSeconds = $watch.ElapsedMilliseconds / 1000
                  Write-Host "$($totalSeconds) seconds" -ForegroundColor Yellow





                  share|improve this answer














                  There are a few options included with SPE out-of-the-box which could aid in accomplishing this task. The detail below is produced with SPE 6.0 but much of it was available in previous versions.



                  Reports



                  There is a Content Report called Items last updated which can be used to find any items in the tree (typically content) that has changed after a specified date.



                  Example filtering criteria[1]



                  Comparing Instances



                  The following script provides a basic example at using SPE to compare the content between two instances beginning with the specified root item.



                  Clear-Host
                  $watch = [System.Diagnostics.Stopwatch]::StartNew()

                  $Username = "admin"
                  $Password = "b"
                  $Source = "https://abc.dev.local"
                  $Destination = "https://123.dev.local"

                  $localSession = New-ScriptSession -user $Username -pass $Password -conn $Source
                  $remoteSession = New-ScriptSession -user $Username -pass $Password -conn $Destination


                  $rootId = "37D08F47-7113-4AD6-A5EB-0C0B04EF6D05"

                  $sourceItemIds = Invoke-RemoteScript -Session $localSession -ScriptBlock "
                  $itemIds
                  -Raw

                  $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock Select-Object -ExpandProperty ID) -join " -Raw

                  $referenceIds = $sourceItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)
                  $differenceIds = $destinationItemIds.Split("|", [System.StringSplitOptions]::RemoveEmptyEntries)

                  $queueIds = Compare-Object -ReferenceObject $referenceIds -DifferenceObject $differenceIds |
                  Where-Object $_.SideIndicator -eq "<=" | Select-Object -ExpandProperty InputObject

                  $watch.Stop()
                  $totalSeconds = $watch.ElapsedMilliseconds / 1000
                  Write-Host "$($totalSeconds) seconds" -ForegroundColor Yellow






                  share|improve this answer













                  share|improve this answer




                  share|improve this answer










                  answered Oct 2 at 17:00









                  Michael WestMichael West

                  13.6k2 gold badges21 silver badges68 bronze badges




                  13.6k2 gold badges21 silver badges68 bronze badges


























                      5



















                      Welcome to Sitecore stackexchange.



                      RAZL RAZL - can be used to compare the items between two different Sitecore Instances. Please note this is a "paid" software.



                      Another option is to use Sitecore Courier - This open source module can compare sitecore serialized files in two folders and create a diff (update) package containing the differences.



                      There is also more information on this other post which you can refer - Comparing a Sitecore instance with a vanilla one






                      share|improve this answer





























                        5



















                        Welcome to Sitecore stackexchange.



                        RAZL RAZL - can be used to compare the items between two different Sitecore Instances. Please note this is a "paid" software.



                        Another option is to use Sitecore Courier - This open source module can compare sitecore serialized files in two folders and create a diff (update) package containing the differences.



                        There is also more information on this other post which you can refer - Comparing a Sitecore instance with a vanilla one






                        share|improve this answer



























                          5















                          5











                          5









                          Welcome to Sitecore stackexchange.



                          RAZL RAZL - can be used to compare the items between two different Sitecore Instances. Please note this is a "paid" software.



                          Another option is to use Sitecore Courier - This open source module can compare sitecore serialized files in two folders and create a diff (update) package containing the differences.



                          There is also more information on this other post which you can refer - Comparing a Sitecore instance with a vanilla one






                          share|improve this answer














                          Welcome to Sitecore stackexchange.



                          RAZL RAZL - can be used to compare the items between two different Sitecore Instances. Please note this is a "paid" software.



                          Another option is to use Sitecore Courier - This open source module can compare sitecore serialized files in two folders and create a diff (update) package containing the differences.



                          There is also more information on this other post which you can refer - Comparing a Sitecore instance with a vanilla one







                          share|improve this answer













                          share|improve this answer




                          share|improve this answer










                          answered Oct 2 at 16:50









                          Abhay DharAbhay Dhar

                          1,2615 silver badges23 bronze badges




                          1,2615 silver badges23 bronze badges































                              draft saved

                              draft discarded















































                              Thanks for contributing an answer to Sitecore Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f22371%2fcompare-items-between-two-instances%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown









                              Popular posts from this blog

                              Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                              Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü

                              How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region