Copy-RASPubItem
Last updated
Last updated
Copy-RASPubItem
Copy a Published item.
Copy-RASPubItem - (uint)** [ (uint)] [ (uint)] [()]
Copy-RASPubItem [-]** () [ (uint)] [ (uint)] [()]
Copy (duplicate) a published item.
ID of Pub item to duplicate.
To obtain the pub item ID, use the Get-PubItem command.
The published item object.
To obtain a PubItem object representing a published item, use the Get-PubItem command.
ID of a new parent published item.
To obtain the published item ID, use the Get-PubItem command.
ID of a sibling item after which to place the specified published item.
To obtain the sibling item ID, use the Get-PubItem command.
(CommonParameters)
**---------- EXAMPLE 1 ----------
Copy-RASPubItem -Id 5 -ParentId 12
Duplicate the specified published item and it under the specified parent (ParentId).
To obtain the parent item ID, use the Get-RASPubItem cmdlet. **---------- EXAMPLE 2 ----------
Copy-RASPubItem -Id 10 -ParentId 12 -PreviousId 22
Duplicate a published item and place it under the specified parent (ParentId) and after the specified sibling item (PreviousId).
To obtain the parent item ID, use the Get-RASPubItem cmdlet. **---------- EXAMPLE 3 ----------
$PubItem | Copy-RASPubItem -ParentId 12
Invoke the duplicate pub item command, which is identified by an object obtained from the pipeline output.
To obtain the parent item ID, use the Get-RASPubItem cmdlet.