DSCResources/xNetworking/2.12.0.0/Examples/Sample_xNetAdapterBinding_DisableIPv6.ps1
configuration Sample_xNetAdapterBinding_DisableIPv6 { param ( [string[]]$NodeName = 'localhost' ) Import-DSCResource -ModuleName xNetworking Node $NodeName { xNetAdapterBinding DisableIPv6 { InterfaceAlias = 'Ethernet' ComponentId = 'ms_tcpip6' State = 'Disabled' } } } Sample_xNetAdapterBinding_DisableIPv6 Start-DscConfiguration -Path Sample_xNetAdapterBinding_DisableIPv6 -Wait -Verbose -Force |