Skip to main content

Batch Script Network

Batch Script Network

The batch script has the ability to work with network settings. The net command is used to update, correct or display the network or network settings.

Several options are available for the net command:

CommandDescription
net accountsView the current password and logon restrictions for the computer.
net configDisplays your current server or workgroup settings.
net computerAdds or removes a computer attached to the windows domain controller.
net userThis command can be used to view the details of a particular user account, and add/delete/modify a user
net stop/startThis command is used to stop and start a particular service.
net statisticsDisplay network statistics of the workstation or server.
net useConnects or disconnects your computer from a shared resource or displays information about your connections.

Table of Contents