A script to create all the files mention below. The scripts needs to run and then run again every 2 minutes.
1. Run 1st time and create the file with the name "[login to view URL]"
2. Run 2nd time and create the file with the name "[login to view URL]"
3. Do the comparisson between the two files
4. If there are no changes = no action
5. If there are changes, create the file only with the changes and overwrite the original file
6. Repeat this process
Extract all this info that the commands return and put in the file to compare:
netsh advfirewall show allprofile status
netsh advfirewall show global
Must be compatible with:
Windows Server 2019 Build 1809
Windows Server 2016 Build 1607
Windows Server Core 2019 Build 1809
Windows 7 x86
Windows 7 x64
Windows 10 Enterprise x64 Build 1803
Windows Server 2012 R2
Windows Server 2008 R2