Skip to content

Tag: Automate

Automate the update of the UniFi Network Controller

I have to maintain a few UniFi Network Controllers, and I didn’t like to use the Web Frontend to update them. Especially because I have to use different versions for different installations. This is mostly based on the fact that for some, we have to use newer versions or even early access releases (they include fixes for issues).

Most of the installations are based on the UBNT UniFi Cloud Key (Gen 1 and Gen 2), or Debian. If you use another Linux distribution, you have to adopt it to fit your requirements.

PowerShell: Get the Office 365 Endpoint Information from Microsoft

A while ago, I published the reworked script to get Office 365 URLs and IP address ranges. Microsoft has built a new fully rest full Webservice to get the same information via JSON instead of XML.
The only drawback of the new service: If you like to use it for a single produce, you need to filter after you have downloaded the information. The product sets are limited.

However, there are a lot of examples in the new script, these examples show you how, where, and what to filter.

This content is older than 1 year. It might be outdated.

PowerShell Function to get the Office 365 URLs and IP address ranges

Update:
There is a newer Script, that uses the new JSON based service from Microsoft! You should use the newer one instead of this!

I know that there are a few functions and scripts like this available. Honestly, the roots of this function are a bit older.

Now some of the developers at enabling Technology tweaked and extended my old function, and they also quashed out a few bugs!

This content is older than 1 year. It might be outdated.