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

Snippets has posted 5883 posts at DZone. View Full User Profile

Reset WINS Configuration To DHCP

  • submit to reddit
        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”'