Copy file library files from source to destination library along with complete version history of file and meta data. This script will work for SharePoint On-Premises and SharePoint Online.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool