Created
January 10, 2017 17:43
-
-
Save kagarlickij/cf345287ef7089b05dacf01e327889f6 to your computer and use it in GitHub Desktop.
Script to disable NetBIOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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