With DISM you can add and remove features to your running image via command line and batchfiles.

DISM allows you to add/remove features online or offline.
Online servicing enables you to add/remove features directly in the running image.
This can be used for example to deploy a new feature automatically via a setup script.
Offline servicing enables you to add/remove features event when the image is not booted.
This way you can add/remove features to the images for example from your development machine or from Windows PE.