Compare items between two instancesComparing a Sitecore instance with a vanilla oneGetting locked items...

Looking for PC graphics demo software from the early 90s called "Unreal"

How long should a test wait to assume that the result remains fixed

Is any device installed on airplane to measure wind speed relative to the ground, and its direction?

Consecutive numbers that are Manhattan distance 3 apart

How to not lose focus after each disruption in flow

Little Endian Number to String Conversion

How could "aggressor" pilots fly foreign aircraft without speaking the language?

Is there a way to make a Minor key sound "less dark"?

How to discipline overeager engineer

5v home network

Why is matter-antimatter asymmetry surprising, if asymmetry can be generated by a random walk in which particles go into black holes?

How to temporarily replace Latin characters with Greek

Print the sequence

Always show full URL in Safari address bar

How to make a gift without seeming creepy?

What is the best DIY approach to keeping brake dust off your rims?

Why didn't Kes send Voyager home?

How to remind myself to lock my doors

Slow coworker receiving compliments while I receive complaints

Conveying the idea of " judge a book by its cover" by " juger un livre par sa couverture"

Why did Batman design Robin's suit with only the underwear without pants?

Should I withdraw my paper because the editor is delaying the report?

What is this plane with its thick cockpit?

How to make "acts of patience" exciting?



Compare items between two instances


Comparing a Sitecore instance with a vanilla oneGetting 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 treePowershell get all items that use a templatePowerShell script to compare latest version number of master and web DB in sitecoreAdding Items to Multilist Field using powershell






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








4

















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







New contributor



Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






























    4

















    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







    New contributor



    Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


























      4












      4








      4


      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







      New contributor



      Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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







      New contributor



      Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question



      share|improve this question






      New contributor



      Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 9 hours ago









      MathewMathew

      487 bronze badges




      487 bronze badges




      New contributor



      Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Mathew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          2 Answers
          2






          active

          oldest

          votes


















          5


















          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 {
          $rootItem = Get-Item -Path "master:" -ID $using:rootId

          $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
          $itemIds
          } -Raw

          $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock {
          $rootItem = Get-Item -Path "master:" -ID $using:rootId

          $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
          $itemIds
          } -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


































            3


















            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
              });


              }
              });







              Mathew is a new contributor. Be nice, and check out our Code of Conduct.










              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









              5


















              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 {
              $rootItem = Get-Item -Path "master:" -ID $using:rootId

              $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
              $itemIds
              } -Raw

              $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock {
              $rootItem = Get-Item -Path "master:" -ID $using:rootId

              $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
              $itemIds
              } -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


















                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 {
                $rootItem = Get-Item -Path "master:" -ID $using:rootId

                $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
                $itemIds
                } -Raw

                $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock {
                $rootItem = Get-Item -Path "master:" -ID $using:rootId

                $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
                $itemIds
                } -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














                  5










                  5









                  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 {
                  $rootItem = Get-Item -Path "master:" -ID $using:rootId

                  $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
                  $itemIds
                  } -Raw

                  $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock {
                  $rootItem = Get-Item -Path "master:" -ID $using:rootId

                  $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
                  $itemIds
                  } -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 {
                  $rootItem = Get-Item -Path "master:" -ID $using:rootId

                  $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
                  $itemIds
                  } -Raw

                  $destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock {
                  $rootItem = Get-Item -Path "master:" -ID $using:rootId

                  $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join "|"
                  $itemIds
                  } -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



                  share|improve this answer










                  answered 8 hours ago









                  Michael WestMichael West

                  11.1k2 gold badges20 silver badges64 bronze badges




                  11.1k2 gold badges20 silver badges64 bronze badges




























                      3


















                      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































                        3


















                        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





























                          3














                          3










                          3









                          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



                          share|improve this answer










                          answered 9 hours ago









                          Abhay DharAbhay Dhar

                          4653 silver badges18 bronze badges




                          4653 silver badges18 bronze badges


























                              Mathew is a new contributor. Be nice, and check out our Code of Conduct.










                              draft saved

                              draft discarded

















                              Mathew is a new contributor. Be nice, and check out our Code of Conduct.













                              Mathew is a new contributor. Be nice, and check out our Code of Conduct.












                              Mathew is a new contributor. Be nice, and check out our Code of Conduct.
















                              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

                              Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                              Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                              Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...