Get-ArchiveItem
Last updated
Last updated
Retrieves a list of items found in the specified archive.
The Get-ArchiveItem command returns items found in the "archive" and "recyclebin" archives.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Specifies the archive to use when determining which ArchiveEntry items to process. Use Get-Archive to find the appropriate archive.
Aliases | |
---|---|
Specifies the ID for the original item that should be processed. This is NOT the ArchivalId.
Specifies the user responsible for moving the item to the archive.
None.
The output type is the type of the objects that the cmdlet emits.
Sitecore.Data.Archiving.ArchiveEntry
Help Author: Adam Najmanowicz, Michael West
The following returns all items found in the specified archive.
The following returns items matching the ItemId found in the specified archive.
The following returns items moved to the recycle bin by the user found in the specified archive.
The following demonstrates changing the archive date on an item followed by retrieving the archived item.
Remove-ArchiveItem
Restore-ArchiveItem
Remove-Item
Remove-ItemVersion
Aliases | |
---|---|
Aliases | |
---|---|
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false