I am writing a script which will be executed when the scheduled vault job fails with 287 error code (Partial eject) and need to run deferred eject from command line which will eject remaining tapes and generate the vault pick list report. Please guide if the command you suggested can perfrom this task.
If you are running it manually when you need to then to be honest it would be far easier to make a new vault profile that only does ejects
This would have all the same settings are your currect one but only has the eject tab selected.
All you need to do then is right click it and select either "Start Session" or "Deferred Eject"
That save the effort of creating scripts and guarantees it does exactly what you need it to do.
Hope this helps