Query tape with acrocmd
I usually run the following script line:
acrocmd change tape_pool --tapes="$TapeID" --pool="$FreieMedienPoolID" --service=asn
in PowerShell to clear known tapes automatically for circumventing some long lasting bug in Acronis Cyber Protect.
This works well with known tape IDs (which are the value of the property resourceId).
Now I had to reinstall a former version of Acronis 15 due to a bug, this action which invalidated all the formerly used resourceIds.
The question is, if there is a way to read this ressource ID from command line, either by querying the standalone tape drive for its inserted media (currently any output from tried commands does not return any information unless its an syntax error) or the resourceID of the tape which is currently in the pool Imported media in the UI:
acrocmd list tapes --filter_pool CD467CD9-D752-4099-9DB2-5BD64F386181 --output=RAW --service=mms
returns also nothing besides the successfull completed message from where I could grab the tape ID.
Besides reading the mentioned ressource ID I would also like to label tapes from within acrocmd or by other script based means.
Since my vacation starts soon I need to get some automation running.
Best greetings from Germany
Olaf