#> netsh
#============================
# Schnittstellenkonfiguration
#============================
pushd interface
reset all
popd
# Ende der Schnittstellenkonfiguration
# ----------------------------------
# Schnittstellen-IP-Konfiguration
# ----------------------------------
pushd interface ip
show address
# Schnittstellen-IP-Konfiguration fr ""{703A9193-7447-408D-B7DD-D26A5B6DD3B0}""
set address name = "{703A9193-7447-408D-B7DD-D26A5B6DD3B0}" source = dhcp
set dns name = "{703A9193-7447-408D-B7DD-D26A5B6DD3B0}" source = dhcp
set wins name = "{703A9193-7447-408D-B7DD-D26A5B6DD3B0}" source = dhcp
# Schnittstellen-IP-Konfiguration fr ""{71298A76-C4A3-4833-9B62-03A2CEE44A8B}""
set address name = "{71298A76-C4A3-4833-9B62-03A2CEE44A8B}" source = dhcp
set dns name = "{71298A76-C4A3-4833-9B62-03A2CEE44A8B}" source = dhcp
set wins name = "{71298A76-C4A3-4833-9B62-03A2CEE44A8B}" source = dhcp
# Schnittstellen-IP-Konfiguration fr ""{BBEC8A06-788E-40E9-8F1C-F27F0FCF73DD}""
set address name = "{BBEC8A06-788E-40E9-8F1C-F27F0FCF73DD}" source = static addr = 192.168.0.1 mask = 255.255.255.0
set dns name = "{BBEC8A06-788E-40E9-8F1C-F27F0FCF73DD}" source = static addr = none
set wins name = "{BBEC8A06-788E-40E9-8F1C-F27F0FCF73DD}" source = static addr = none
# Schnittstellen-IP-Konfiguration fr ""{07AD87AE-F444-46DA-9248-9FC0C35F481F}""
set address name = "{07AD87AE-F444-46DA-9248-9FC0C35F481F}" source = static addr = 10.50.0.160 mask = 255.255.255.0
set address name = "{07AD87AE-F444-46DA-9248-9FC0C35F481F}" gateway = 10.50.0.1 gwmetric = 1
set dns name = "{07AD87AE-F444-46DA-9248-9FC0C35F481F}" source = static addr = 10.50.0.1
set wins name = "{07AD87AE-F444-46DA-9248-9FC0C35F481F}" source = static addr = none
popd
# Ende der Schnittstellen-IP-Konfiguration
META FILEATTACHMENT | netsh-example.bat | attr="" comment="Example of netsh usage - does not work!" date="1101488267" path="netsh-example.bat" size="958" user="joko" version="1.1" |
|