title: Detect If IPv6 is Enabled on Windows Machines
body: <p>I am writing a powershell script that will act as a build compliance test for our servers. One of the things I need to do is detect if IPv6 networking has been disabled.</p>
  
  <p>WMI indicates that this information can be found in the IPAddress Property of Win32_NetworkAdapterConfiguration but can be both IPv6 or IPv4. This does not give me a "yes/no" answer I am hoping to find.</p>
  
  <p>Other caveats are that I would prefer not to scrape the details by accessing the registry directly, nor scrape from the output of a command such as ipconfig.</p>
  
  <p>Given our environment has a mix of 2003/2008 machines, can anyone think of a way to test for IPv6? </p>
  
  <p>Cheers</p>