Like Us
Plus One
Follow Us
 Author Jeff Jones  Views 1578 View Original Article

Have you needed to write to a SPList on a remote target farm?    Get-SPSite works great locally, but remote scenarios need different techniques.   The below PowerShell will write to a SharePoint list remotely over HTTP using the SOAP endpoint “Lists.asmx” by sending  XML with the action detail (insert command and field values).   Cheers!    PowerShell Function WriteCAML($targetUrl, $targetListName, $data) { # Open remote service $uri = $targ…
View Original Article

Recent Articles from @SPJeff