Removes items permanently from the specified archive.
Remove-ArchiveItem -Archive <Archive> [-ItemId <ID>]
Remove-ArchiveItem -Archive <Archive> [-Identity <AccountIdentity>]
Remove-ArchiveItem -Archive <Archive> [-ArchiveItem <ArchiveEntry[]>]
Detailed Description
The Remove-ArchiveItem command permanently removes entries from specified archive.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
-Archive <Archive>
Specifies the archive to use when determining which ArchiveEntry items to remove. Use Get-Archive to find the appropriate archive.
Accept Wildcard Characters?
Specifies the ID for the original item that should be processed. This is NOT the ArchivalId.
Accept Wildcard Characters?
-Identity <AccountIdentity>
Specifies the user responsible for moving the item to the archive.
Accept Wildcard Characters?
-ArchiveItem <ArchiveEntry[]>
Specific items from the archive may be deleted when using this parameter.
Accept Wildcard Characters?
Sitecore.Data.Archiving.ArchiveEntry
The output type is the type of the objects that the cmdlet emits.
Help Author: Adam Najmanowicz, Michael West
The following removes items matching the ItemId found in the specified archive.
The following removes items from the recycle bin by the user found in the specified archive.
The following removes all items from the recycle bin found in the specified archive.