|
| |
.Net[Value] Series
- Retrieve, optionally reformat and display various network resources to the console
- Optionally save the values in variables
- 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
DOMAIN4etc. |
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.
|