Last active
April 20, 2017 14:59
-
-
Save jovib/79c4f699b09b230e9ffef2eaf9872e33 to your computer and use it in GitHub Desktop.
QuickPrep for VMware View for no DHCP server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rem Author: Joel Villalobos | |
| rem @jovib_ | |
| IF %computername%==VM-1 Netsh int ip set address name="Local Area Connection 2" source=static addr=192.168.2.80 255.255.255.0 192.168.90.100 | |
| IF %computername%==VM-1 Netsh int ip set dns name="Local Area Connection 2" source=static addr=192.168.90.5 | |
| IF %computername%==VM-1 Netsh int ip add dns name="Local Area Connection 2" addr=192.168.90.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment