PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. You can learn more and download at 

This is a PsExec script to modify connection filter to add the trusted IP addresses. This is required if you are going to use our service infront of Office365 or if you are doing a tenant migration. Without this tool the only other way to add IP's to Office365 is to copy/paste each one, which can be time consuming.


The content in quotes will be specific and custom to your tenant’s naming convention:

Set-HostedConnectionFilterPolicy "Connection Filter Policy" -IPAllowList,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,


Please ensure that all of the IP's are added.