SOLVED

recover deleted files

%3CLINGO-SUB%20id%3D%22lingo-sub-1559999%22%20slang%3D%22en-US%22%3Erecover%20deleted%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1559999%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20experts%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20have%20a%20share%20point%20site%20which%20has%20folders%20and%20sub%20folders.%3CBR%20%2F%3ESome%20of%20the%20files%20and%20folders%20are%20deleted%20and%20i%20can%20see%20them%20in%20recycle%20bin%2C%20i%20dont%20want%20to%20restore%20all%20of%20them%2C%20is%20it%20possible%20to%20export%20the%20items%20of%20recycle%20bin%20from%20shell%20to%20csv%20file%20and%20then%20edit%20the%20csv%20file%20with%20the%20files%20and%20folders%20i%20require%20and%20import%20this%20csv%20file%20to%20restore.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20is%20it%20possible%20to%20restore%20it%20to%20some%20other%20folder%20rather%20than%20overwrite.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1559999%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1562240%22%20slang%3D%22en-US%22%3ERe%3A%20recover%20deleted%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1562240%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F312187%22%20target%3D%22_blank%22%3E%40maxwell2k19%3C%2FA%3E%26nbsp%3BPowerShell%20will%20help%20you%20with%20some%20of%20the%20problem%2C%20including%20exporting%20the%20CSV%20file.%20You%20can%20then%20restore%20selected%20items%20but%20I%20don't%20think%20you%20can%20change%20the%20location%20they%20restore%20to.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flazyadmin.nl%2Fpowershell%2Frestore-recycle-bin-sharepoint-online-with-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Flazyadmin.nl%2Fpowershell%2Frestore-recycle-bin-sharepoint-online-with-powershell%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi experts

 

i have a share point site which has folders and sub folders.
Some of the files and folders are deleted and i can see them in recycle bin, i dont want to restore all of them, is it possible to export the items of recycle bin from shell to csv file and then edit the csv file with the files and folders i require and import this csv file to restore.

 

1. is it possible to restore it to some other folder rather than overwrite.

1 Reply
best response confirmed by maxwell2k19 (Contributor)
Solution

@maxwell2k19 PowerShell will help you with some of the problem, including exporting the CSV file. You can then restore selected items but I don't think you can change the location they restore to.

https://lazyadmin.nl/powershell/restore-recycle-bin-sharepoint-online-with-powershell/