EnableDhcp.vbs Syntax
Open command prompt now.
1. EnableDhcp.Vbs /A adapter [/S server] [/U username] [/W password] [/O outputfile]
2. EnableDhcp.Vbs /L [/S server] [/U username] [/W password] [/O outputfile]
Where:
- /A adapter
- enables DHCP for the specified network adapter service name.
- /L
- lists all the servicenames of all network adapters available.
- server
- is a computer name.
- username and password
- are the user name and password of the current user.
- outputfile
- is the output file name.