Removing multiple packages from staging libraries

book

Article ID: 109947

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction

We have a software package group called Obsolete. The packages contained are all staged to our 4 scalability servers. I would like to remove all of the packages in the obsolete group from all of the scalability servers with a command line (rather than right-clicking on staging libraries and selecting schedule removal job.

Environment

CA Client Automation - All Versions

Resolution

The following command line can be used to remove the packages from all the Scalabilty servers:
 
cadsmcmd swLibrary action=undeliverGroupFromStage name=<sw group name> computer=<SS name> OR compgrp=<SS computer group name>

Additional Information

How do you un-stage or remove a software package from all Scalability Servers in one step from DSM gui?

https://comm.support.ca.com/kb/how-do-you-remove-a-staged-package-from-a-scalability-server/KB000015050