Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mzmaili/TestDeviceRegConnectivity

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.
https://github.com/mzmaili/TestDeviceRegConnectivity

Last synced: 5 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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.

- https://login.microsoftonline.com
- https://device.login.microsoftonline.com
- https://enterpriseregistration.windows.net

#### 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](https://github.com/mzmaili/TestDeviceRegConnectivity/blob/master/pass.png)

- When the test fails::

![TestFail1](https://github.com/mzmaili/TestDeviceRegConnectivity/blob/master/f1.png)

![TestFail2](https://github.com/mzmaili/TestDeviceRegConnectivity/blob/master/f3.png)

> [!NOTE]
> You can use [DSRegTool](https://github.com/mzmaili/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.

```azurepowershell
.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
```