Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.39 KB

README.md

File metadata and controls

51 lines (32 loc) · 2.39 KB

Test Device Registration Connectivity

Test-DeviceRegConnectivity PowerShell script helps to test the Internet connectivity to the following Microsoft resources under the system context to validate the connection status between the device that needs to be connected to Azure AD as hybrid Azure AD joined device and Microsoft resources that are used during device registration process. It also, checks for SSL/TLS handshake and report as failure if any.

Why is this script helpful?

  • You don’t need to rely on PS Exec tool to test the Internet connectivity under the system context, you need just to run it as administrator.
  • You don’t need to collect network trace during device registration and analyze it to verify the Internet connectivity.
  • You don’t need to check the Internet gateway (web proxy or firewall) to verify the Internet connectivity.

Note

Using this script, Internet connectivity troubleshooting time will be reduced, and you need just to run it as administrator.

User experience:

  • When the test passes successfully:

TestPass

  • When the test fails::

TestFail1

TestFail2

Note

You can use DSRegTool which is a comprehensive tool that performs more than 30 different tests that help you to identify and fix the most common device registration issues for all join types.

.SYNOPSIS 
    Test-HybridDevicesInternetConnectivity V2.1 PowerShell script. 
 
.DESCRIPTION 
    Test-HybridDevicesInternetConnectivity is a PowerShell script that helps to test the Internet connectivity to the following Microsoft resources under the system context to validate the connection status between the device that needs to be connected to Azure AD as hybrid Azure AD joined device and Microsoft resources that are used during device registration process: 
 
    https://login.microsoftonline.com 
    https://device.login.microsoftonline.com 
    https://enterpriseregistration.windows.net 
 
 
.AUTHOR: 
    Mohammad Zmaili 
 
.EXAMPLE 
    .\Test-DeviceRegConnectivity