Skip to content

Instantly share code, notes, and snippets.

@AlexKasaku
Created July 15, 2015 10:53
Show Gist options
  • Save AlexKasaku/f12032590bbd208bb459 to your computer and use it in GitHub Desktop.
Save AlexKasaku/f12032590bbd208bb459 to your computer and use it in GitHub Desktop.
[Sitecore] Replace the DataSource found in a rendering of all child items
gci | % { $_.__Renderings = ($_.__Renderings -replace “{2E07CF1D-DE5B-4D5C-B226-024C549A652E}”,”{FC7EE80B-B784-4E70-9C7B-BCDCE631B67D}”) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment