Due to replacement of the Office 365 IP list with new web service, I wrote a new, improved script that returns all IPs needed for all services of O365 in format for Cisco ASA: # CHANGE PATH $Path = ‘E:’ $Report = "$Path\Report.txt" $date = Get-Date -format "yyyyMMdd" $dateReport…
PowerShell
I had problem with Office 365 because of firewall, so I wrote script that makes list of all IPs needed for O365 that can be easily imported to Cisco ASA: # CHANGE PATH $Path = ‘E:’ $Report = "$Path\Report.txt" $date = Get-Date -format "yyyyMMdd" $dateReport = Get-Date -format "dd.MM.yyyy"…
Today I was working with one application where I needed to test application settings multiple times with proxy on and with proxy off. I wanted to have a script that I can run to change between this 2 states and I also wanted to know last state of proxy (if…