Skip to content

Instantly share code, notes, and snippets.

@AlexKasaku
Created July 15, 2015 10:54
Show Gist options
  • Save AlexKasaku/5c0c59e9d1600f643c10 to your computer and use it in GitHub Desktop.
Save AlexKasaku/5c0c59e9d1600f643c10 to your computer and use it in GitHub Desktop.
[Sitecore] Get all items with a matching name, and update a field within that item
gci -r | where { $_.Name -eq "Apply2015" } | % { $_.Year = "{80B694E2-7FA4-449C-A1DF-07C3E44815CD}" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment