If ((Get-PsSnapin |?{$_.Name -eq "Microsoft.SharePoint.PowerShell"})-eq $null)
{
   	Write-Host "- Loading SharePoint Powershell Snapin"
 	Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue | Out-Null
}

$settings = Get-Content CopyMoveSiteSettings.xml | Out-String

Set-CopyMoveSettings -ConfigXml $settings -SiteUrl "http://hostname/sites/thesite" -Verbose

