Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top