Ayuda de vídeo de Screencast
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Input multiple clients into bpimagelist

Created: 15 Nov 2012 • Updated: 16 Nov 2012 | 2 comments
Se ha solucionado este problema. Vea la solución.

Hi,

I have a Windows Master server V6.5.6 with numerous Windows clients.

I am trying to input multiple clients into the bpimagelist command to ascertain which tapes were used during the overnight backup window.

When I run the following basic command I find all the tapes used in the backup but I need the same info for 25 clients, its pretty easy if it were a Unix master server but im struggling with the same syntax on windows.

> bpimagelist.exe -hoursago 24 -media -client <client> -U

Ive tried entering the clients in curly brackets, creating a text file with the clients and trying to import all to no avail so hopefully someone will be able to point me in the right direction, im thinking its straight forward but im stuck without grep and awk!!!

Thanks in advance.

Comentarios ComentariosIr al último comentario

el cuadro de los Nathan Kippen

Create a FOR loop like you would in unix...

for %a in (clientx clienty clientz) do echo %a

or from a file list..

for /F %A IN (clients.txt) do echo %A

so then..

for /F %A IN (clients.txt) do bpimagelist.exe -hoursago 24 -media -client %A -U

Symantec Certified Specialist
(NBU 7.5.0.6)
Don't forget to vote or mark solution!

SOLUCIÓN
el cuadro de los bfcsaus123

Works a treat and exactly what I needed, many thanks Nathan....