Get-ItemClone

Returns all the clones for the specified item.

Syntax

Get-ItemClone [-Item] <Item>

Get-ItemClone [-Path] <String>

Get-ItemClone -Id <String> [-Database <String>]

Detailed Description

The Get-ItemClone command returns all the clones for the specified item.

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

Parameters

-Item  <Item>

The item to be analysed for clones presence.

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 analysed for clones presence.

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

-Id  <String>

Id of the item to be analysed for clones presence.

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

-Database  <String>

Database containing the item to be processed - if item is being provided through Id.

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:\> Get-ItemClone -Path master:\content\home

results matching ""

    No results matching ""