Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / Create-O365CheckpointObjects.ps1
Created March 13, 2017 08:40
Powershell script to automate the creation of required Office 365 IP addresses or URLs in a Checkpoint management server
<#
.Synopsis
Create the required objects in a Checkpoint R80+ management server to allow Office 365 traffic
.DESCRIPTION
This script will connect to https://support.content.office.net/en-us/static/O365IPAddresses.xml
and download an XML file containing the required objects to allow Office 365 traffic to pass.
It will then create the objects (IPv4, IPv6 addresses or URLs) into the Checkpoint management
server using the R80+ API, according to the selected parameters.
It depends on the ConvertFrom-O365AddressesXMLFile module
(https://github.com/it-praktyk/Convert-Office365NetworksData/tree/master/ConvertFrom-O365AddressesXMLFile).