Files
Intune/intune/Proactive Remediations/Disable Netbios/Remediate_NetBios.ps1

6 lines
204 B
PowerShell

$Path = "HKLM:\SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces\tcpip*"
$Name = "NetbiosOptions"
$Type = "DWORD"
$Value = 2
Set-ItemProperty -Path $Path -Name $Name -Type $Type -Value $Value