Use the text file containing the original maintenance entries you want to remove from maintenance when removing devices from maintenance. Define the variable, removeSchedMaint, using the -D sm_adapter option.
To unschedule bulk maintenance using a text file:
From a Command Prompt window, type the following command:
t Sm_adapter –s SAMServer –DremoveSchedMaint=true --file=fileName ../rules/ics/ics-bulk-maint.asl s