Get-Package -ProjectName sourceProject | ForEach-Object { Install-Package -Id $_.Id -Version $_.Versions -Projectname targetProject }