[Powershell]Concatenate XML blocks base on a list

So on previous post i have posted an entire code to build standard firewalls for new servers. So basically there is a small function that does the trick. The idea is that I do not want the orchestrator to send request on every servers built, this will generate a lot of access requests in tufin … Continue reading [Powershell]Concatenate XML blocks base on a list

Advertisement

Compare-Object: Find item in file 1 that is not in file2

The objective is to compare two files, one reference list the other is the testing list. My colleague helped me wrote a script to do the comparison, there were many false positives, so here's his script: The output always give me items i have on both files and some items from file1. From stackoverflow i … Continue reading Compare-Object: Find item in file 1 that is not in file2

Powershell backup script for PAN OS

Background PAN OS is the OS used by Palo Alto firewalls as well as Panorama, the script presented here is usable by both products from Palo Alto Networks. Without Panorama you cannot do schedule backups easily, you need to invoke Palo Alto's export configuration API to achieve this. Palo Alto has a tutorial on how … Continue reading Powershell backup script for PAN OS