This is a sample script to create a password file, the file is encrypted, however when you need to read from the files you can use it for your script to authenticate so that your script do not need to … Continue reading
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 … Continue reading
Background So here is a real life requirement that when vRealize Orchestrator created a new virtual machine, the ip addresses of the new VM are passed over to a list, another script will be triggered weekly to read from the … Continue reading
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 … Continue reading
thanks to Stackoverlfow: https://stackoverflow.com/questions/8799847/compare-two-csv-files-and-find-discrepancies The code snippet is about comparing two CSV files containing firewall object groups and list down the discrepancy. the code snippet can be used to out-file to a text.
There is an undocumented Tufin API, see the code below:
Here’s the powershell code.