Copy-RASPubItem
SYNOPSIS
Copy a Published item.
SYNTAX
Copy-RASPubItem -Id <uint> [-ParentId <uint>] [-PreviousId <uint>] [<CommonParameters>]Copy-RASPubItem [-InputObject] <PubItem> [-ParentId <uint>] [-PreviousId <uint>]
[<CommonParameters>]DESCRIPTION
Copy (duplicate) a published item.
EXAMPLES
Example 1
Copy-RASPubItem -Id 5 -ParentId 12Duplicate the specified published item and it under the specified parent (ParentId).
To obtain the parent item ID, use the Get-RASPubItem cmdlet.
Example 2
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
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.
PARAMETERS
-Id
ID of Pub item to duplicate.
To obtain the pub item ID, use the Get-PubItem command.
-InputObject
The published item object.
To obtain a PubItem object representing a published item, use the Get-PubItem command.
Type reference: PubItem
-ParentId
ID of a new parent published item.
To obtain the published item ID, use the Get-PubItem command.
-PreviousId
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
PubItem
OUTPUTS
PubAVDApp PubFolder PubPCApp PubRDSApp PubVDIApp
RELATED LINKS
Last updated