UNSOLVED

AShah7

updated

14 years ago

A

AShah7

25 Posts

0

1478

June 6th, 2012 05:00

nsradmin searching for blank strings

Hi -

Im trying to find out all the clients in our datazone which are not grouped

im using

. print type: nsr client; group:

show name;group

print

(using Windows 2008)

but im not having much luck

Any idea on how to search for a group with a "null"  value?

I've tried all sorts of combinations but non work

thanks

Abid

  • coganb

    736 Posts

    539

    0

    Posted June 6th, 2012 06:00

    Hi Abid,

    You need to put nsradmin in regular expression mode and use the square brackets like this:

    nsradmin> .  type: nsr client;group: []

    Current query set

    nsradmin> show name; group

    nsradmin>p

    No resources found for query:

                                                    group: [];

                                                      type: nsr client;

    nsradmin>option regexp

    Regexp display option turned on

    Display options:

                    Dynamic: Off;

                    Hidden:  Off;

                    Raw I18N: Off;

                    Resrouce ID: Off;

                    Regexp: On;

    nsradmin> p

                                                    group:  ;

                                                    name: hotrod;

                                                    group:  ;

                                                    name: aude;

                                                    group:  ;

                                                    name: aude;

    -Bobby

  • muetzd

    18 Posts

    539

    0

    Posted May 1st, 2013 16:00

    C:\>set NSR_REGEXP_OLD=yes

    C:\>set | findstr NSR
    NSR_REGEXP_OLD=yes

    C:\>nsradmin -s digger.lss.emc.com
    NetWorker administration program.
    Use the "help" command for help.
    nsradmin> sho name;group
    nsradmin> option regexp
    Regexp display option turned on

    Display options:
            Dynamic: Off;
            Hidden: Off;
            Raw I18N: Off;
            Resource ID: Off;
            Regexp: On;
    nsradmin> print type: nsr client; group: []
                            name: usenmuetzdd1c.corp.emc.com;
                           group: ;

                            name: netdev;
                           group: ;

                            name: usenmuetzdd1c.corp.emc.com;
                           group: ;
    nsradmin> quit

    C:\>