Send To Records Center with PowerShell


I have a scenario where I need to send documents to a records center using PowerShell.  Can someone guide me to the best way of accomplishing this?

Thank you!


May 31st, 2015 10:07pm


The following PowerShell script for your reference:

$siteurl = "https://siteurl";
$spweb = Get-SPWeb -Identity $siteurl
$list = $spweb.Lists["Document"]
$outputResult = ""
foreach($item in $list.Items)
  $item.File.SendToOfficialFile([ref] $outputResult)

More information is here:

Send files to records center with PowerShell

Best Regards,


Free Windows Admin Tool Kit Click here and download it now
June 1st, 2015 10:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics