This copies a list from one SharePoint site to another SharePoint site
#Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Get the Source List
$SourceWebURL = "https://xxxx"
$ListName = "SharedDocuments"
$BackupPath = "F:\temp\"
$TargetWebURL = "https://xxxx"
$web = Get-SPWeb -Identity https:/xxx
$SourceList = $web.GetList("https://xxx")
#Export the List from Source web
#$SourceList.DefaultViewUrl
Export-SPweb $SourceWebURL -ItemUrl $SourceList.DefaultViewUrl -IncludeUserSecurity -IncludeVersions All -path ($BackupPath + $ListName + ".cmp") -nologfile -Force
#Import the List to Target Web
import-spweb $TargetWebURL -IncludeUserSecurity -path ($BackupPath + $ListName + ".cmp") -nologfile -UpdateVersions Overwrite
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Get the Source List
$SourceWebURL = "http://portal.opwftg.com/sites/OPWSS/Teams/Safety/SiteTemplate/Cells/Cell 1/Machines/Machine1"
$ListName = "LOTO"
$BackupPath = "E:\temp"
$TargetWebURL = "http://portal.opwftg.com/sites/OPWSS/Teams/Safety/SiteTemplate/Cells/Cell 1"
$SourceList =(Get-SPWeb $SourceWebURL).Lists[$ListName]
#Export the List from Source web
Export-SPweb $SourceWebURL -ItemUrl $SourceList.DefaultViewUrl -IncludeUserSecurity -IncludeVersions All -path ($BackupPath + $ListName + ".cmp") -nologfile -Force
#Import the List to Target Web
import-spweb $TargetWebURL -IncludeUserSecurity -path ($BackupPath + $ListName + ".cmp") -nologfile -UpdateVersions Overwrite