Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Set DNS Suffix Search Order Remotely (See related posts)

Uses WMIC to connect to a list of computers in an input file (one computer name per line) and sets the DNS suffix search order

   1  
   2  wmic /node:@input.txt /failfast:on nicconfig call SetDNSSuffixSearchOrder (child.domain.com,domain.com,otherdomain.com)

You need to create an account or log in to post comments to this site.


Click here to browse all 5545 code snippets

Related Posts