Forum Discussion

Ajaz_Ahmed's avatar
Ajaz_Ahmed
Level 1
3 years ago

List Scratch Tapes from Standalone and send a report

Dear Experts,

I am planning to automate Scratch request of Standalone tapes to be recalled from DR.

I use the below query to fetch the Scratch from Standalone.

vmquery -pn Scratch -b | grep "NONE"

The Output lists Media Id but We need Barcode of all these media as our media Id and Barcodes are not similar, how can i achieve this.

 

 

 

1 Reply

  • Hey
    Replace the -b with -W or -w and print with awk first and second column if i do recall correctly :grinning_face: