----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

.NetValue

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Types of
.Mount/\Commands

.CrystalClear | .ExactName | .ExitELn | .GetValue | .ifCondition | .ifELn | .IsPattern | .ListValue | .NetValue | .NowValue | .RedirRapids | .ReliableReporting | .RestoreValue | .SetELn | .ValueEcho

.Net[Value] Series

  1. Retrieve, optionally reformat and display various network resources to the console
  2. Optionally save the values in variables
  3. Set an errorlevel, if applicable, based on the result
     

.Mt/\Cmd

Sample
Output
Description
.NetView

SERVER1
SERVER2
WORKSTATION1
WORKSTATION2

Same as the output of "Net View", parsed to include only machine names
.NetIPAddrs SERVER1,nnn.nnn.nnn.nnn
SERVER2,nnn.nnn.nnn.nnn
WORKSTATION1,nnn.nnn.nnn.nnn
WORKSTATION2,nnn.nnn.nnn.nnn
List all IP Addresses as

Computername,IPAddress

.NetMacs SERVER1,xx-xx-xx-xx-xx-xx
SERVER2,xx-xx-xx-xx-xx-xx
WORKSTATION1,xx-xx-xx-xx-xx-xx
WORKSTATION2,xx-xx-xx-xx-xx-xx
List all MAC Addresses as

Computername,MacAddress

.NetIPMacs SERVER1,nnn.nnn.nnn.nnn,xx-xx-xx-xx-xx-xx
SERVER2,nnn.nnn.nnn.nnn,xx-xx-xx-xx-xx-xx
WORKSTATION1,nnn.nnn.nnn.nnn,xx-xx-xx-xx-xx-xx
WORKSTATION2,nnn.nnn.nnn.nnn,xx-xx-xx-xx-xx-xx
List all IP Addresses and all Mac Addresses as

Computername,IPAddress,MacAddress

.NetDomains DOMAIN1
DOMAIN2
DOMAIN3
DOMAIN4

etc.

List all known domains.

The .NetValue command will list all instances of value, one per line, comma delimited.  If no instances of value are found, nothing will be returned.


/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON UP WITH US!
and
Congratulations On Your Decision
to
RISE ABOVE
THE REST!

^
/
!\
/LIB\

TheSystemGuard.com [Revised: 2007-03-29]
Copyright 1995-2007, JWC
Computer Communications,
All Rights Reserved, Worldwide.
 Disclaimer       Privacy       About Us       More


Communication Is Business!

We Master It With Knowledge!

^
/
.\
/M^C\