11 July 2019

Test your connection to BlackBerry NOC/Cloud Servers

The BlackBerry UEM system administrator (BlackBerry Proxy & Control) periodically faced with situations when part or all of the BlackBerry Work clients cannot connect to their mailboxes / calendars. The reason may be on BlackBerry servers, an ISP or in home WiFi router.
To identify issues on the client side, I decided to write a PowerShell script that checks the availability of the main components that necessary for BlackBerry Work.

The script has several settings that determine which types of servers need to be checked. You can also change the server list.

The list of settings:
$country = "us"                                                            # <<<<<< 'ca' = Canada | 'ru' = Russia | 'us' = United States only (US)
$ShowBlocking = "no"                                                       # <<<<<< Set 'yes' if you want to check blocking IP and domain in Russia.
$ShowPush = "no"                                                           # <<<<<< Set 'yes' if you want to see Push Notification servers (a lot).
$ShowCloud = "yes"                                                         # <<<<<< Set 'yes' if you want to see BlackBerry UEM Cloud servers.
$ShowDirectConnect = "no"                                                  # <<<<<< Set 'yes' if you want to set dedicated BlackBerry Direct Connect servers.
$ShowBlackberryConnectivityNode = "yes"                                    # <<<<<< Set 'yes' if you want to see BlackBerry Connectivity Nodes.
$ShowBlackberrySite = "yes"                                                # <<<<<< Set 'yes' if you want to see BlackBerry site.
$ShowBEMS = "yes"                                                          # <<<<<< Set 'yes' if you want to see which serevers needed for BlackBerry Enterprise Mobility Server (BEMS).

Functions

  • Checks DNS records.
  • Checks delays to NOC servers.
  • Checks for opening ports on NOC servers.
  • “Alive” URLs of NOC servers are checked.
  • Especially for Russia, the check of blocking of IP addresses and domains by Roskomnadzor is thought out (can be turned on and off).
  • For companies that use Direct Connect servers, the ability to check them (you need to fill 2 variables inside the script).
  • Added a block of information on connecting the computer to the Internet.
  • Added check of BlackBerry Connectivity Node, BlackBerry Cloud and Push Notification servers.
  • The report is presented in the HTML format.

Report examples




How to run

  1. Download the script → Right click on the file → Run with PowerShell (before you may need to run "Set-Executionpolicy -Scope CurrentUser -ExecutionPolicy UnRestricted" command).
  2. Download the script to Downloads folder → Win+R → Run "powershell.exe -executionpolicy unrestricted -command '%HOMEPATH%\Downloads\BlackBerry_NOC_Test_v5.ps1'"

Download

https://github.com/ruschestor/BlackBerry_NOC_Test


1 comment: