So, this may be a misunderstanding on my part of how netsh is supposed to work. If I am logged onto server A (or apparently any other server), I can run netsh interface ip dump
and get what I want (which is at heart, a list of all DNS servers for all interfaces for all machines in my domain.) See "Local" below.
If I do it from another (apparently, any other) machine in the domain via netsh -r A interface ip dump
, it doesn't actually give me any of the interfaces or their info. (See "Remote" below.) Same thing happens in interactive mode, as well.
Thoughts? I've done some googling, with no description of this problem at all. I haven't found any machines that this works properly on.
Local:
# ----------------------------------
# Interface IP Configuration
# ----------------------------------
pushd interface ip
# Interface IP Configuration for "Team BE"
set address name="Team BE" source=static addr=xxxx mask=255.255.224.0
set address name="Team BE" gateway=xxxx gwmetric=0
set dns name="Team BE" source=static addr=xxxx register=PRIMARY
add dns name="Team BE" addr=xxxx index=2
set wins name="Team BE" source=static addr=none
popd
# End of interface IP configuration
Remote:
# ----------------------------------
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4
reset
set global icmpredirects=enabled
popd
# End of IPv4 configuration