Networker

Re: [Networker] Update clients with nsradmin using wildcard

2009-08-27 17:24:59
Subject: Re: [Networker] Update clients with nsradmin using wildcard
From: Davina Treiber <Davina.Treiber AT PEEVRO.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 27 Aug 2009 22:18:07 +0100
JKK wrote:

> I need to update a bunch of clients with the remote access parameter. I 
> faile to see how I can use wildcard to help me with this. 
> 
> I need to upodate the remote access field on all clients with certain dns 
> siffix in their name. All clients have FQDN as their name. So I need to 
> update client1.domain.com....client20.domain.com and use domain.com as a 
> wildcard.
> 
> Is this possible with nsradmin?

Sure. try something like this:

nsradmin
option Regexp
print   type: NSR client;
        name: domain.com$
update remote access: new value

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

<Prev in Thread] Current Thread [Next in Thread>