A couple of things to note:
1. This script assumes that a ps1 script is generated and is included in the folder from which your WSPs will be deployed.
2. You have access to a SharePoint server on the farm.
Set-ExecutionPolicy Unrestricted $fc = new-object -com scripting.filesystemobject $curFolder = Split-Path ($MyInvocation.MyCommand.Path) $folder = $fc.getfolder($curFolder) foreach ($i in $folder.files) { IF ($i.name -like "*.wsp") { $fullPath = join-path $curFolder $i.name Add-SPSolution $fullPath Install-SPSolution -Identity $i.name -GACDeployment } } Write-host "SharePoint 2010 Solutions Have Been Deployed to the Farm" Write-host "Review Central Administration For Accuracy"