Reset WINS Configuration to DHCP
wmic /node:PCname process call create 'cmd.exe /c “netsh interface ip set wins name=”Local Area Connection“ source=dhcp”'
12388 users tagging and storing useful source code snippets
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
wmic /node:PCname process call create 'cmd.exe /c “netsh interface ip set wins name=”Local Area Connection“ source=dhcp”'
wmic /node:PCname process call create 'cmd.exe /c “netsh interface ip set dns name=”Local Area Connection“ source=dhcp”'
wmic service where (StartName!=“LocalSystem” and StartName!=“NT AUTHORITY\\LocalService” and StartName!=“NT AUTHORITY\\NetworkService”) get Caption,StartName
wmic /node:@input.txt /failfast:on nicconfig call SetDNSSuffixSearchOrder (child.domain.com,domain.com,otherdomain.com)