DZone 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
Resets the DNS configuration on the specified remote PC (per the /node:PCname parameter) to obtain DNS addresses from DHCP
wmic /node:PCname process call create 'cmd.exe /c â€œnetsh interface ip set dns name=â€Local Area Connectionâ€œ source=dhcpâ€'