views:

54

answers:

1

Is there and easier way to cancel all WSP files currently being deployed to a SharePoint farm?

I'm currently using the STSAdmin function CancelDeployment but this requires me to run STSAdmin EnumDeployments first and manually copy and paste the job IDs into another script.

I need an easier way to do this, as I might have to ask someone else to run the script, and I'm having to run the script a couple of times a day myself.

+1  A: 

I believe you could easily modify the "Get-Installed-Farm-Solutions.ps1" script found here on CodePlex: http://www.codeplex.com/SharePointPSScripts/Release/ProjectReleases.aspx?ReleaseId=21806

naivists