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

Reset DNS Configuration to DHCP (See related posts)

Resets the DNS configuration on the specified remote PC (per the /node:PCname parameter) to obtain DNS addresses from DHCP

   1  
   2  wmic /node:PCname process call create 'cmd.exe /c “netsh interface ip set dns name=”Local Area Connection“ source=dhcp”'

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


Click here to browse all 5355 code snippets

Related Posts