Skip to content

Latest commit

 

History

History
118 lines (79 loc) · 2.43 KB

File metadata and controls

118 lines (79 loc) · 2.43 KB

ConvertFrom-ItemClone

Converts an item from a clone to a fully independent item.

Syntax

ConvertFrom-ItemClone [-Item] <Item> [-Recurse] [-PassThru]

ConvertFrom-ItemClone [-Path] <String> [-Recurse] [-PassThru]

ConvertFrom-ItemClone -Id <String> [-Database <String>] [-Recurse] [-PassThru]

Detailed Description

Converts an item from a clone to a fully independent item.

© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

Parameters

-Recurse <SwitchParameter>

Aliases
Required? false
Position? named
Default Value
Accept Pipeline Input? false
Accept Wildcard Characters? false

-PassThru <SwitchParameter>

Aliases
Required? false
Position? named
Default Value
Accept Pipeline Input? false
Accept Wildcard Characters? false

-Item <Item>

The item to be converted.

Aliases
Required? true
Position? 1
Default Value
Accept Pipeline Input? true (ByValue, ByPropertyName)
Accept Wildcard Characters? false

-Path <String>

Path to the item to be converted

Aliases
Required? true
Position? 1
Default Value
Accept Pipeline Input? false
Accept Wildcard Characters? false

-Id <String>

Id of the item to be converted

Aliases
Required? true
Position? named
Default Value
Accept Pipeline Input? false
Accept Wildcard Characters? false

-Database <String>

Database containing the item to be converted

Aliases
Required? false
Position? named
Default Value
Accept Pipeline Input? false
Accept Wildcard Characters? false

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Sitecore.Data.Items.Item

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Sitecore.Data.Items.Item

Notes

Help Author: Adam Najmanowicz, Michael West

Examples

EXAMPLE

PS master:\> ConvertFrom-ItemClone -Path master:\content\home

Related Topics