Worklet - Disable NetBIOS (Windows)

Hi there,

Here is a quick Worklet to disable NetBIOS for all adapters as part of a past pen test remediation

Evaluation:

exit 1

Remediation:

$adapters=(gwmi win32_networkadapterconfiguration )
ForEach ($adapter in $adapters)  {
  Write-Host $adapter
  $adapter.settcpipnetbios(2)
}
1 Like