Forum Discussion
Bhavpreet Bains
May 28, 2018Iron Contributor
Trusted IPs list and Powershell
 Hello,     I am trying to get all Trusted IPs in a powershell script. Does anyone know if  there is some Powershell cmdlets or Graph API to fetch them?     Thank you. 
Prashant Divakaran
May 28, 2018Brass Contributor
Hello Bhavpreet,
Microsoft Maintains their IP addressing on this XML file : https://support.content.office.net/en-us/static/O365IPAddresses.xml
You can either write your own powershell to parse this XML or use this one which already does it for you
https://gallery.technet.microsoft.com/office/Get-Office-365-IP-v4-562987d5