Skip to content

Instantly share code, notes, and snippets.

@AdamNaj
Created July 25, 2014 15:49
Show Gist options
  • Save AdamNaj/6c86f61510dc3d2d8b2f to your computer and use it in GitHub Desktop.
Save AdamNaj/6c86f61510dc3d2d8b2f to your computer and use it in GitHub Desktop.
Sitecore PowerShell Extensions - all involved item serialization
# Item templates
Get-Item 'master:\templates\Modules\PowerShell Console' | Serialize-Item -Recurse
Get-Item 'core:\templates\Modules\PowerShell Console' | Serialize-Item -Recurse
# Module Root
Get-Item 'master:\system\Modules\PowerShell' | Serialize-Item
Get-Item 'core:\system\Modules\PowerShell' | Serialize-Item
# Colors
Get-Item 'master:\system\Modules\PowerShell\Console Colors' | Serialize-Item -Recurse
Get-Item 'core:\system\Modules\PowerShell\Console Colors' | Serialize-Item -Recurse
# Rules Engine Rules
Get-Item 'master:\system\Modules\PowerShell\Rules' | Serialize-Item -Recurse
# Script Library
Get-Item 'master:\system\Modules\PowerShell\Script Library' | Serialize-Item -Recurse
Get-Item 'core:\system\Modules\PowerShell\Script Library' | Serialize-Item -Recurse
# Settings
Get-Item master:\system\Modules\PowerShell\Settings | Serialize-Item
Get-Item master:\system\Modules\PowerShell\Settings\Console | Serialize-Item
Get-Item 'master:\system\Modules\PowerShell\Settings\Console\All Users' | Serialize-Item
Get-Item master:\system\Modules\PowerShell\Settings\Context | Serialize-Item
Get-Item 'master:\system\Modules\PowerShell\Settings\Context\All Users' | Serialize-Item
Get-Item master:\system\Modules\PowerShell\Settings\Default | Serialize-Item
Get-Item 'master:\system\Modules\PowerShell\Settings\Default\All Users' | Serialize-Item
Get-Item master:\system\Modules\PowerShell\Settings\ISE | Serialize-Item
Get-Item 'master:\system\Modules\PowerShell\Settings\ISE\All Users' | Serialize-Item
Get-Item master:\system\Modules\PowerShell\Settings\RemoteAutomation | Serialize-Item
Get-Item 'master:\system\Modules\PowerShell\Settings\RemoteAutomation\All Users' | Serialize-Item
# PowerShell Applications
Get-Item core:\content\Applications\PowerShell | Serialize-Item -Recurse
# PowerShell Application Layouts
Get-Item 'core:\layout\Layouts\Applications\PowerShell Console' | Serialize-Item -Recurse
Get-Item 'core:\layout\Layouts\Applications\PowerShell ISE Sheer' | Serialize-Item -Recurse
# Start Menu icons
Get-Item 'core:\content\Documents and settings\All users\Start menu\Right\Development Tools\PowerShell ISE\' | Serialize-Item
Get-Item 'core:\content\Documents and settings\All users\Start menu\Right\PowerShell Console\' | Serialize-Item
Get-Item 'core:\content\Documents and settings\All users\Start menu\Right\Reporting Tools\PowerShell Reports' | Serialize-Item
# Content Editor Context Menu integration
Get-Item 'core:\content\Applications\Content Editor\Context Menues\Default\PowerShell Console\' | Serialize-Item
Get-Item 'core:\content\Applications\Content Editor\Context Menues\Default\PowerShell\' | Serialize-Item
Get-Item 'core:\content\Applications\Content Editor\Context Menues\Default\Edit Script\' | Serialize-Item
Get-Item 'core:\content\Applications\Content Editor\Context Menues\Default\PowerShell Console\' | Serialize-Item
# Content Editor Ribbon integration
Get-Item 'core:\content\Applications\Content Editor\Ribbons\Chunks\PowerShell\' | Serialize-Item
Get-Item 'core:\content\Applications\Content Editor\Ribbons\Chunks\PowerShell\Scripts\' | Serialize-Item
Get-Item 'core:\content\Applications\Content Editor\Ribbons\Chunks\PowerShell\Terminal\' | Serialize-Item
Get-Item 'core:\content\Applications\Content Editor\Ribbons\Strips\View\PowerShell\' | Serialize-Item
# Tasks integration
Get-Item 'master:\system\Tasks\Commands\PowerShellScriptCommand' | Serialize-Item
Get-Item 'master:\system\Tasks\Schedules\Test-PowerShell' | Serialize-Item
#-name * -path "master:\system\Modules\PowerShell\Settings" -Exclude "sitecore" -Recurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment