Get Office 365 users licenses

Hey scripters, today I want to show you how in easy way get Office 365 users licenses. Script which I’ve prepared connect to Office 365 tenant and in first step check all licenses. Once it is done all users which have attribute isLicensed flagged as True are gathered. In next steps script is filtering users base on license name and export those information to CSV files. Note: Remember to install …

Scanning XML file from internet – O365 Products

Recently I worked on script for checking if IP address found in ADFS dedicated load balancer logs matches the Office 365 products IP address ranges/subntes. List of products and IP address can be found on office support page and to make things easier XML file is also provided – link. For checking if IP address exists within subnet I let myself use the script from internet: http://www.gi-architects.co.uk/2016/02/powershell-check-if-ip-or-subnet-matchesfits/ We have script …