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

« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS 

Reset WINS Configuration to DHCP

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

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

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”'
« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS