Test Device Registration Connectivity

Test-DeviceRegConnectivity PowerShell script helps to test the Internet connectivity to Microsoft resources under the system context to validate the connection status when troubleshooting Hybrid Azure AD Devices.

 
 
 
 
 
4.7 Star
(12)
6,373 times
Add to favorites
2/29/2020
E-mail Twitter del.icio.us Digg Facebook
  • How to start the script?
    2 Posts | Last post February 29, 2020
    • I am not very good in Powershell, now i have the problem, that i do not know how i can start the script. 
    • You need just to run PowerShell console as administrator, locate the folder where you downloaded "Test-DeviceRegConnectivity" file, and then run it using ".\Test-DeviceRegConnectivity.ps1"
  • WINHTTP Proxy supported with this script ?
    3 Posts | Last post October 10, 2019
    • Just ran some tests with a PAC file and with a WINHTTP proxy manually configured , traces show the traffic ignoring the WINHTTP proxy on my initial tests , just checking if this is a supported scenario considering PowerShell sometimes needs a little help with proxies.
    • Test-DeviceRegConnectivity checks the Internet connectivity under the system account (not user account) as Windows 10 computers run device registration by using machine context. For more info, visit https://docs.microsoft.com/en-us/azure/active-directory/devices/hybrid-azuread-join-managed-domains#prerequisites
    • The connectivity checks must run under the machine context, but also there a proxy maybe nesessary.
      Maybe it would be better to use the 'Invoke-WebRequest' cmdlet than the 'Test-NetConnection'? The 'Invoke-WebRequest' function uses a proxy.