Skip to content

Instantly share code, notes, and snippets.

@AlexKasaku
Last active November 3, 2016 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexKasaku/9199b7dc1a1e89b7604072f1be08bd06 to your computer and use it in GitHub Desktop.
Save AlexKasaku/9199b7dc1a1e89b7604072f1be08bd06 to your computer and use it in GitHub Desktop.
Export item layouts based on a list of item paths
$defaultDevice = Get-LayoutDevice "Default"
$paths = @(
"/sitecore/content/home",
)
$paths | Get-Item -Path master:$path | Select ID, FullPath, @{Name="Final Layout";Expression={$_."__Final Renderings"}} | Show-ListView
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment