$siteURL="http://serverName:1111/"
$site=Get-SPSite $siteURL
$web=$site.RootWeb
$collFiles=$web.GetFolder("Shared Documents").Files
$count=$collFiles.Count
while($count -ne 0)
{
$collFiles[$count-1].MoveTo("Destination Library/" + $collFiles[$count-1].Name, $true)
$count--
}
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Bharat Bhushan KvPosted Apr 14, 2020, 7:48 AM
Can U give me for Cross Sites Library Files Moving ??