Batch Script - NET COMPUTER



Adds or removes a computer attached to the windows domain controller.

Syntax

NET COMPUTER \\computername {/ADD | /DEL}

Example

NET COMPUTER \\dxbtest /ADD

Output

The above command will add the machine with the name dxbtest to the domain in which the windows domain controller exists.

batch_script_network.htm
Advertisements