I have two document library.in one document library no folders are there.2021-2022,2022-2023 documents are there.One year(date and time) column is there.Using group by i separated documents(2021-2022,2022-2023).Another one document library is empty.From first library i have to move 2022-2023 documents to second document library using powershell script.How to do? i am using sharepoint 2016 onpremise.

1 Answer 1



If it's not one time job and you want it as automatic process then you can utilize Information Management Policy feature in SharePoint which can do your job.

enter image description here

Here are some reference links for configuring retention in document library

  1. https://sharepointmaven.com/set-retention-deletion-policies-files-folders-sharepoint/
  2. https://joannecklein.com/2016/12/01/move-that-document/ (Read Point#7)

Using PowerShell Script

If you want to perform this operation for one time only then you can go with PowerShell approach as well. Following is the reference link for that


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.