This is a shell script designed to run on a Solaris master server.  I have
no idea if it will run in a Cygwin environment on Windows but at least
you've got the basic concept to write one yourself.

   .../Ed

#!/bin/sh

# Loop through all clients gathering the client version info

PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ] && mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A > $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk '/Patch Level = / {print FILENAME "," $NF}' $f
done > $OUT



On 12/3/07, Ben Linkon <[EMAIL PROTECTED]> wrote:
>
>  Does anyone have a way to report on the installed client version for all
> clients in a Windows environment?  I have used bpclclients, but this doesn't
> show the version.
>
>
>
> Thanks,
>
>
>
> Ben Linkon
>

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to