Share via


Direct Access Client Connectivity Log Generator

Summary

This tool can be modified as required in your environment. This script executes the below network commands in PowerShell console Commands

  • ipconfig /all
  • netsh int teredo show state
  • netsh int httpstunnel show interfaces
  • netsh dns show state
  • netsh name show policy
  • netsh name show effective
  • netsh adv mon show mmsa
  • netsh nap client show state
  • wevtutil query-events Microsoft-Windows-NetworkAccessProtection/Operational /count:20 /format:text /rd:true
  • netsh int ipv6 show int level=verbose
  • netsh advf show currentprofile
  • netsh advfirewall monitor show consec
  • Certutil -store my
  • Systeminfo
  • whoami /groups

Note

The Fix it button restart the IP Helper Service to reconnect to the Direct Access Client.

PowerShell Code

function status() 

$Status = $Window.FindName("Status") 
$Method4 = $Status.On_Load 
$Status.Content = "Your Log File Save is C:\Temp\" + $Env:COMPUTERNAME + ".txt" 

 
function iphelper() 

Restart-Service -Name "IP Helper" -Force -Verbose 
}

Download Source Code

TechNet Gallery Downloadlink