Skip to content

Instantly share code, notes, and snippets.

@kagarlickij
Created January 10, 2017 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kagarlickij/cf345287ef7089b05dacf01e327889f6 to your computer and use it in GitHub Desktop.
Save kagarlickij/cf345287ef7089b05dacf01e327889f6 to your computer and use it in GitHub Desktop.
Script to disable NetBIOS
$adapters=(gwmi win32_networkadapterconfiguration )
Foreach ($adapter in $adapters){
Write-Host $adapter
$adapter.settcpipnetbios(2)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment