How to batch apply windows server IPsec rules

Solution 1:

IPSec policies can be managed through the netsh command line. In particular, you can export and import policies in bulk using exportpolicy and importpolicy.