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â€'





