ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

AutoShell Command to Apply a Policy to a Service in VAIM


Article ID: 145682


Updated On:


CA Virtual Assurance for IM


Customer has script in place that will update the SystemEDGE policies with the correct monitors.  They need a way to apply the policy in bulk to all the servers via command line.





Release : 12.9

Component : VPM GENERAL


Use the ism-applyPoliciesForService Command

The ism-applyPoliciesForService command applies the policy to all computer systems in a managed service.

Here is an example of applying a policy against a service which is a logical collection of systems.   

You can create a new service (container) and assign those boxes to the service.

Additional Information

  • Virtual Assurance 12.9 Reference Guide is attached to this KB which provides all available autoshell commands


1582321349221__VA_Ref_ENU.pdf get_app