# purges old/orphan files in second path compare (gci \\server1\dir1) (gci \\server2\dir2 ) -passthru | ? {$_.SideIndicator -eq '=>'} | ri -force