Restore-ArchiveItem
Last updated
Last updated
Restores items to the original database from the specified archive.
The Restore-ArchiveItem command restores entries from specified archive back to the original database.
© 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.
Specific items from the archive may be restored when using this parameter.
AccountIdentity
Sitecore.Data.Archiving.ArchiveEntry
The output type is the type of the objects that the cmdlet emits.
None.
Help Author: Adam Najmanowicz, Michael West
The following restores items matching the ItemId found in the specified archive.
The following restores items from the recycle bin by the user found in the specified archive.
The following restores all items from the recycle bin found in the specified archive.
Get-ArchiveItem
Restore-ArchiveItem
Remove-Item
Remove-ItemVersion
Aliases | |
---|---|
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?
true (ByValue)
Accept Wildcard Characters?
false
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false