Skip to content

Instantly share code, notes, and snippets.

@tcotav
Created August 26, 2013 19:06
Show Gist options
  • Save tcotav/6345281 to your computer and use it in GitHub Desktop.
Save tcotav/6345281 to your computer and use it in GitHub Desktop.
disable netbios over tcpip
powershell "disable netbios over tcpip" do
code <<-EOH
wmic /interactive:off nicconfig where TcpipNetbiosOptions=0 call SetTcpipNetbios 2
wmic /interactive:off nicconfig where TcpipNetbiosOptions=1 call SetTcpipNetbios 2
EOH
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment