Networker

Re: [Networker] How Do I Get A Client Info Report?

2009-04-08 10:41:34
Subject: Re: [Networker] How Do I Get A Client Info Report?
From: James Pratt <jpratt AT NORWICH DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 8 Apr 2009 10:36:29 -0400
> -----Original Message-----
> From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On
> Behalf Of Fazil Saiyed
> Sent: Wednesday, April 08, 2009 10:24 AM
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: Re: [Networker] How Do I Get A Client Info Report?
> 
> Hello,
> Getting the info from nsradmin is relatively easy, this  procedure is
for
> windows.
> Here is the input file
> . type  nsr client
> show name;save set;Directive;group;schedule
> print nsr client
> Below is the info in the bat file
> nsradmin -i D:\Scripts\nsradmin\clientlist.txt
> >D:\Scripts\nsradmin\Clientlistout.txt
> You can change the attributes in the input file as you wish, also you
may
> want to look at nsrsup & nsrlic output also.
> HTH
> 
> 


You can also use MS powershell on windows to get any/all of the above as
well - here is the code/syntax:

## Powershell equivalent of a perl here doc /multi-line string
$nsradmin_query = @'
. type: nsr client
show name 
show comment
show client OS type
show NetWorker version
print
q
'@

## pipe the string to nsradmin 
$nsradmin_query | nsradmin -i -

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER