Skip to content

Instantly share code, notes, and snippets.

@georgechang
Last active September 19, 2017 21:49
Show Gist options
  • Save georgechang/045ac7c80393925a567b4647a84dc810 to your computer and use it in GitHub Desktop.
Save georgechang/045ac7c80393925a567b4647a84dc810 to your computer and use it in GitHub Desktop.
SPE - Create new language versions of items and copy the contents from the source language
Get-ChildItem "/sitecore/content/home" -Recurse | % { Add-ItemLanguage $_ -Language "en" -TargetLanguage "en-GB" -IfExist Over }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment