22 lines
2.2 KiB
AutoIt
22 lines
2.2 KiB
AutoIt
#RequireAdmin
|
|
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
|
|
#AutoIt3Wrapper_UseUpx=n
|
|
#AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator
|
|
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip delete dns name="LAN-Verbindung" all',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung" addr=192.168.1.15 index=1',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung" addr=192.168.1.16 index=2',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip delete dns name="LAN-Verbindung 2" all',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 2" addr=192.168.1.15 index=1',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 2" addr=192.168.1.16 index=2',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip delete dns name="LAN-Verbindung 3" all',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 3" addr=192.168.1.15 index=1',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 3" addr=192.168.1.16 index=2',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip delete dns name="LAN-Verbindung 4" all',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 4" addr=192.168.1.15 index=1',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 4" addr=192.168.1.16 index=2',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip delete dns name="LAN-Verbindung 5" all',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 5" addr=192.168.1.15 index=1',"",@SW_SHOW)
|
|
RunAsWait("Administrator", "KAN001", "JOH13k35", 0, 'netsh interface ip add dns name="LAN-Verbindung 5" addr=192.168.1.16 index=2',"",@SW_SHOW)
|
|
|