How to disable IPV6 on Windows Server 2012 r2 and Windows Server 2012 from power shell
disables IPV6 from powershell for Server
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters -Name DisabledComponents -PropertyType DWord -Value 0xffffffff